UNOFFICIAL plugin for 3ds Max 2010+

3D Studio Max Plugin (Export Script Plugins developed by [gk] and KilaD; Integrated Plugin developed by Karba)
Forum rules
Please post only in English in this subforum. For alternate language discussion please go here http://render.otoy.com/forum/viewforum.php?f=18
User avatar
JimStar
OctaneRender Team
Posts: 3816
Joined: Thu Jul 28, 2011 8:19 pm
Location: Auckland, New Zealand

tehfailsafe wrote:As I said, SYSTEM units are inches. Display units are Generic Units.
I think you do something wrong.:?
I checked it. First I've set system units and display units to inches. Exported to .obj. I have checked first coordinate of one of vertices: in scene it is 1.506 (in inches) and in .obj it was 0.0376 (in meters), I checked it with calculator: 1.506 * 0.025 = 0.0376.:D
Then I changed display units to generic, exported again, and get the same result: in .obj file I saw 0.0376 as first coordinate of this vertex.
:?:
User avatar
nildoe
Licensed Customer
Posts: 464
Joined: Wed Sep 14, 2011 9:03 am
Location: Maputo-Mozambique
Contact:

Hi tehfailsafe

I too was having this problem with units objects small and far away... it was frustrating until i found the solution....

LEAVE system units in MAX inches and LEAVE obj scale in octane in Meters...then try again :) at least that worked for me...

the display units dont make a difference i think...

GREAT Script Jim..real life saver!

Nildo
Corei7, 6x GTX1070 (2 Inside and 4 in a CUBIX Xpander), 32GB Ram, Win10 64Bit Home, 3dsMax2017 64Bit, Octane for max 3 and LOVING IT!!!!

MSI GT72S 6QE Dominator Pro G win10Home, gtx 980m.
tehfailsafe
Licensed Customer
Posts: 229
Joined: Sun Nov 07, 2010 9:27 pm

Weird, so I'm still having that auto-scale incorrectly, but it's only on the one file I'm working on a commercial project for.
I've created new projects and it works perfectly the way you describe, system units inches autoscale to 0.025 it matches viewport in octane and scale looks appropriate.

What could this one file do that would break it? Can I send you the max file or something? I need to do MANY animations with this object and I really can't set 1.0 scale on each frame obj export. :oops:
windows 7 64 bit| GTX580 1.5Gb x2 | Intel 2600k @ 4.9 | 16gb ddr3 | 3ds max 2012
User avatar
kivig
Licensed Customer
Posts: 152
Joined: Fri Apr 09, 2010 10:42 pm
Contact:

I tried all the variations of both max unit/system unit setup, and in most cases, geometry is exported normally, but camera coordinates are multiplied by 1000. Have no idea where this comes from. If I change geometry scale, camera still is 1000 times further away.
Edit: after reopening file max offers converting file scale or adopting file's unit scale, but both options lead to the same results.
Luckily at least entering coordinates by hand works.
http://www.visnevskis.com
Vista64/Ubuntu, GTX470/580
User avatar
JimStar
OctaneRender Team
Posts: 3816
Joined: Thu Jul 28, 2011 8:19 pm
Location: Auckland, New Zealand

kivig wrote:I tried all the variations of both max unit/system unit setup, and in most cases, geometry is exported normally, but camera coordinates are multiplied by 1000.
Thanks! It seems that problem was described incorrectly first time.:) I searched bug in geometry scaling but it is camera position scaled incorrectly sometimes, not geometry itself...
I will check it.
User avatar
JimStar
OctaneRender Team
Posts: 3816
Joined: Thu Jul 28, 2011 8:19 pm
Location: Auckland, New Zealand

Strange... I don't found misscaling behavior... Just one little thing found - if while exporting you have changed default scale given, the cam and target coordinates remained default... I fixed it in 1.74.
But: if you say that in all new files all is OK and the problem exists only in some files - it may be that the cam and target coordinates in these files are wrong, check it please (e.g. you can compare cam coordinates in Max scene and in Octane after opening exported scene in Octane)...
You can also post here some screenshots to I can better undestand what you mean and what you get... My wife now works in Blender, so I can't get her help in testing...:)
tehfailsafe
Licensed Customer
Posts: 229
Joined: Sun Nov 07, 2010 9:27 pm

My wife now works in Blender, so I can't get her help in testing...:)

NOOOOOOOOO :lol:
windows 7 64 bit| GTX580 1.5Gb x2 | Intel 2600k @ 4.9 | 16gb ddr3 | 3ds max 2012
tehfailsafe
Licensed Customer
Posts: 229
Joined: Sun Nov 07, 2010 9:27 pm

Also a side note while im making these screenshots, just downloaded the newest 1.74 version and it seems to start octane before it's completed exporting the OBJ, and as such octane can't find the obj file and quits. I haven't seen that happen before...
windows 7 64 bit| GTX580 1.5Gb x2 | Intel 2600k @ 4.9 | 16gb ddr3 | 3ds max 2012
tehfailsafe
Licensed Customer
Posts: 229
Joined: Sun Nov 07, 2010 9:27 pm

Here's some screengrabs.
Max window, then octane with the default auto-resizing setting at 0.025, then octane when I manually set the scale to 1.0
max.jpg
scale_oct_025.jpg
scale_oct_1.jpg
windows 7 64 bit| GTX580 1.5Gb x2 | Intel 2600k @ 4.9 | 16gb ddr3 | 3ds max 2012
User avatar
JimStar
OctaneRender Team
Posts: 3816
Joined: Thu Jul 28, 2011 8:19 pm
Location: Auckland, New Zealand

tehfailsafe wrote:Also a side note while im making these screenshots, just downloaded the newest 1.74 version and it seems to start octane before it's completed exporting the OBJ, and as such octane can't find the obj file and quits. I haven't seen that happen before...
No, 1.74 don't has such a changes. I think there is some another reason for this...

About scale: my wife said that Max has some glitches in scale setting, and there may be some random problems if you change scale after the scene file was first time saved... Maybe that is the reason...
I can't repeat this behavior, it is all OK on my computer and on wife's computer... Can you please give me a Max scene file that is not correctly exporting, and .obj, .ocs, and .bat files of first frame that are produced by animation render?
Post Reply

Return to “Autodesk 3Ds Max”