I am writing an application that writes .obj files.
The application writes, scale and origin arguments to the texture file location records.
for example, here is a line where the origin is offset by one unit in all directions for the file ambient.tga .
map_Ka -o 1 1 1 ambient.tga # texture origin (1,1,1)
here is the syntax from the wavefront obj specification.
-o u [v [w]] # Origin offset (default 0 0 0)
-s u [v [w]] # Scale (default 1 1 1)
-t u [v [w]] # Turbulence (default 0 0 0)
here is a matrial definition generated by the program and put in a .mtl file.
newmtl 27_*Default_Masonry_CMU
Ka 0.69999998807907 0.69999998807907 0.69999998807907
Kd 0.69999998807907 0.69999998807907 0.69999998807907
Ks 1 1 1
illum 2
d 1
Ns 20.0
map_Ka -s 100 100 100 -o 1 1 1 D:\_obj Export Test\OBJ_Export\assets\textures\stone-59_d100.png
map_Kd -s 100 100 100 -o 1 1 1 D:\_obj Export Test\OBJ_Export\assets\textures\stone-59_d100.png
map_Ks -s 100 100 100 -o 1 1 1 D:\_obj Export Test\OBJ_Export\assets\textures\stone-59_s100-g100.png
map_bump -s 100 100 100 -o 1 1 1 D:\_obj Export Test\OBJ_Export\assets\textures\stone-59_b030.png
It appears octane is ignoring the -s and -o arguments and bringing in the texture map at 1:1 regardless.
Could someone tell me if octane recognizes these arguments or not, and if yes, perhaps tell me how to write these obj records correctly.
many thanks
mark
support of obj specification question
Forum rules
Please add your OS and Hardware Configuration in your signature, it makes it easier for us to help you analyze problems. Example: Win 7 64 | Geforce GTX680 | i7 3770 | 16GB
Please add your OS and Hardware Configuration in your signature, it makes it easier for us to help you analyze problems. Example: Win 7 64 | Geforce GTX680 | i7 3770 | 16GB
Windows 11, 2x Intel I9, 64GB Ram, 2x GTX 1080 TI, 1 x RTX 380 TI, Oculus Quest 2

