Facet problem

Autodesk Maya (Plugin developed by JimStar)

Moderator: JimStar

eyearmy
Licensed Customer
Posts: 10
Joined: Sat Aug 07, 2010 4:32 pm
Location: Reykjavik, Iceland

@harshcg:

Two words: scale issues. *sigh*

Try exporting your model with the modified version of bazuka's script I have attached. It's just a quick hack, it wasn't properly tested, animation would probably fail, I take no responsibility whatsoever, yadda yadda yadda; but it gets me pretty pictures, like the one below.
Attachments
door_test_original_script.jpg
door_test.jpg
maya2011_octane_beta23b_scale_fix.zip
(6.63 KiB) Downloaded 317 times
Last edited by eyearmy on Thu Sep 30, 2010 5:53 pm, edited 1 time in total.
Windows 8.1 x64 / GTX 970 / i7-4790@4GHz / 16 GB
harshcg
Licensed Customer
Posts: 11
Joined: Sat Jun 19, 2010 1:35 pm

forgot to mention its maya2011 scene. OBJ works fine but my main aim is to use those cameras for export in octane, and to test maya2octane plugin.
Yeah quads and not triangulated mesh.
I have attached obj anyway...thanks for helping out!
Attachments
door.zip
(122.37 KiB) Downloaded 307 times
harshcg
Licensed Customer
Posts: 11
Joined: Sat Jun 19, 2010 1:35 pm

eyearmy: thanks and your right! scale was the problem!
but now that I installed the new script...I am not able to render with exact camera that I have in Maya. for some reason the car is scaled too big, even though I select the right camera while exporting. Is this a known issue with edited script?

Other option I tried is scaling down the whole scene, which fixes the facet issue. But this is not what I want. As i have my scene animated with cameras, and scaling will not really work with everything
Any suggestions? :?
bazuka
Licensed Customer
Posts: 259
Joined: Thu Apr 22, 2010 3:47 pm

here is solution:

go to Preview Kernal and set the rayepsilon to 0.0005 ;)
Maya 2009 x64 & Maya 2011 x64
Windows 7 x64 & Windows XP x64
2x Quad Core Q6600, 8gb, Nvidia Gtx 260 & Gtx 460
eyearmy
Licensed Customer
Posts: 10
Joined: Sat Aug 07, 2010 4:32 pm
Location: Reykjavik, Iceland

@harshcg: try getting your anim_cam out of octane_scale_group; otherwise, this camera would get scaled down not once, but twice.
Windows 8.1 x64 / GTX 970 / i7-4790@4GHz / 16 GB
bazuka
Licensed Customer
Posts: 259
Joined: Thu Apr 22, 2010 3:47 pm

people i really dont know what to do, i need ur judgment

do u want me to remove scale thing from script or not, coz i dont know how to solve this probl

some people work in cm some in mm some in meters, etc...

i could make by default to be in cm so if any1 set their project to something else then he will have the probl on the other side

people who use cm as unit size wont have any probl :)

so i would like to vote and what u people decide thats how its going to be

cheers ;)
Maya 2009 x64 & Maya 2011 x64
Windows 7 x64 & Windows XP x64
2x Quad Core Q6600, 8gb, Nvidia Gtx 260 & Gtx 460
bazuka
Licensed Customer
Posts: 259
Joined: Thu Apr 22, 2010 3:47 pm

here is another trick set ur unit size in Octane2Maya exporter to meter...
Maya 2009 x64 & Maya 2011 x64
Windows 7 x64 & Windows XP x64
2x Quad Core Q6600, 8gb, Nvidia Gtx 260 & Gtx 460
User avatar
face
Octane Plugin Developer
Posts: 3204
Joined: Sat Mar 06, 2010 2:10 pm
Location: Germany

bazuka wrote:here is another trick set ur unit size in Octane2Maya exporter to meter...
Same was i ever prefer and preach, use meter, ever, anywhere ;)

face
Win10 Pro, Driver 378.78, Softimage 2015SP2 & Octane 3.05 RC1,
64GB Ram, i7-6950X, GTX1080TI 11GB
http://vimeo.com/user2509578
eyearmy
Licensed Customer
Posts: 10
Joined: Sat Aug 07, 2010 4:32 pm
Location: Reykjavik, Iceland

@bazuka: even if people were to work with lightyears or parsecs (Rhinoceros can handle these, and I'm not kidding you), Maya wouldn't care less. All we have to do is to implement a very simple centimeter-to-meter conversion scheme, like I already did, and we're golden.
Windows 8.1 x64 / GTX 970 / i7-4790@4GHz / 16 GB
harshcg
Licensed Customer
Posts: 11
Joined: Sat Jun 19, 2010 1:35 pm

set in metres with the new script or old script?
New script is giving me all sorts of scaling issues. whole scale is scaled up.
In my opinion scale should be NOT included in the script, what we export from maya should exactly how it should look in Octane. Or else what's the point of camera setups in maya.

And when i choose METER in Octane exporter, the whole scene scales again! and when I zoom out it still is not fixing the FACETS. :x (this is with the modified script)

Its only fixed by your suggestion of 'rayepsilon' value but not with .0005, instead when I turn it all the way to right .1000 value! What is this for? Does it screw up something else in the scene while its fixing the facet issue?
Last edited by harshcg on Thu Sep 30, 2010 6:47 pm, edited 2 times in total.
Post Reply

Return to “Autodesk Maya”