headus 3D tools headus 3D tools / 3D scans
Support Forums
 
 FAQFAQ   SearchSearch    UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
headus 3D scans

3DSMax interface script V2
Goto page 1, 2, 3, 4, 5, 6, 7  Next
 
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
r_knightly



Posts: 74
Joined: 29 Jun 2007

PostPosted: Wed Jul 18, 2007 3:17 pm    Post subject: 3DSMax interface script V2 Reply with quote

I develop this script in my free time so please leave some feedback if this is or isnt working for you.

april-19th-2010
Material support added
Export bug causing first run uvs to be lost on second run fixed.

april-17th-2010
OK Version 2 is working pretty nicely for me now, im not calling this a final release as I would like you guys to give it a run and see how it works for you.
There are no exciting new features in this. its mainly a rewrite to make the script work better. it now supports Stacks and non editable_poly geometry.

Lots of import based bugs have been worked around by using my own import code.
I've tested this with ngons,tris and quads and it seems solid. This should mean no more camera jumps, rotated meshs and missing UV's which were caused by bad user prefs in the import plugin. If you could post Geometry I would appreciate it.
I can provide an email address to people who dont want to post geometry publicly

to Install
*Drag and Drop the mzp file onto your max viewport.
*Restart Max or browse to the scripts folder and manually run the script
*Go to Customize-> Customize User Interface
*Click the toolbars Tab
*Change the Category to "rt uv tools"
*Drag the "headus UV layout bridge" action onto your UI or add it to a new toolbar
*Close Customize UI
*Press the new Button
*A box will come up asking for your UVlayout.exe.

Your good to go.
This was written using max 2010 but it should work on earlier versions fine.
If you have an error post your max version and the listener output in this thread.



uvpipe_2_beta_1.zip
 Description:
Materials Exported, Bugs Fixed

Download
 Filename:  uvpipe_2_beta_1.zip
 Filesize:  4.48 KB
 Downloaded:  16276 Time(s)



Last edited by r_knightly on Tue Apr 27, 2010 7:04 am; edited 21 times in total
Back to top
View user's profile Send private message
headus
Site Admin


Posts: 2894
Joined: 24 Mar 2005
Location: Perth, Australia

PostPosted: Wed Jul 18, 2007 6:36 pm    Post subject: Reply with quote

Unfortunately we don't have Max installed here at headus, but thanks for sharing your script with everyone else!

Phil
Back to top
View user's profile Send private message Send e-mail Visit poster's website
r_knightly



Posts: 74
Joined: 29 Jun 2007

PostPosted: Thu Jul 19, 2007 12:19 am    Post subject: Reply with quote

Hopefully ill be able to make it better. im looking into parsing .obj files at the moment. if i can get my artists brain around that ill just trasnfer the uvs directly, and it'll be more usefull
Back to top
View user's profile Send private message
3Dsam



Posts: 10
Joined: 17 Mar 2006
Location: France

PostPosted: Thu Jul 19, 2007 8:58 am    Post subject: Reply with quote

@r_knightly Thank you for your script.

I will test… and would return for possible errors.
Back to top
View user's profile Send private message
r_knightly



Posts: 74
Joined: 29 Jun 2007

PostPosted: Sun Jul 22, 2007 9:42 am    Post subject: Progress Reply with quote

Below is a video of the current version in action, its a huge step forward in comparison to the last version.

The working mesh is no longer replaced, the UVs are copied from the unwrapped object and injected into the working mesh.

The plugin now watches for UVLayout to send its result and automaticly updates.

To do:
Error checking
Iron out some kinks Very Happy



Back to top
View user's profile Send private message
headus
Site Admin


Posts: 2894
Joined: 24 Mar 2005
Location: Perth, Australia

PostPosted: Mon Jul 23, 2007 12:01 am    Post subject: Reply with quote

Looking good. Thanks!

Phil
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Gogitason



Posts: 5
Joined: 11 Feb 2007

PostPosted: Mon Jul 23, 2007 2:39 am    Post subject: Reply with quote

Great work r_knightly Very Happy

I really appreciate you doing this.

Hope you're able to post this new script soon.
Back to top
View user's profile Send private message
3Dsam



Posts: 10
Joined: 17 Mar 2006
Location: France

PostPosted: Mon Jul 23, 2007 4:07 am    Post subject: Reply with quote

The video looked great and this script seems easy to use.... Very Happy

Thanks for developing this script and I hope that one will be able to test soon ..... Thank you
Back to top
View user's profile Send private message
r_knightly



Posts: 74
Joined: 29 Jun 2007

PostPosted: Mon Jul 23, 2007 7:03 am    Post subject: Reply with quote

The problem with the script at the moment is it can be quite unpredictable, some times it works great and others it gives corrupted uvs. This makes me dubious about releasing it yet.

In the state it is in at the moment, uvs are pumped directly into the basemesh. What i want to do when i get chance is recode this so that a uv_unwrap mod holds the data. this'll be far more stack friendly and id imagine more stable. Presently it only works with Editable polys, storing the info in the modifier really seems like what i need to do.

What ever happens I will release soon, if i cant iron it out to a good working script then perhaps i can find someone to help Wink
Back to top
View user's profile Send private message
r_knightly



Posts: 74
Joined: 29 Jun 2007

PostPosted: Sat Jul 28, 2007 4:53 am    Post subject: A little update Reply with quote

Quote:
Max's OBJ exporter dosnt seem to like ngons and triangulates them :/ so it's breaking the face indexs on models with n-gons and also ruining their symmetry :/
This was causing my script to go nuts and crash max sometimes.

Read as: Im now having to write my own exporter code Smile oh the fun of it all.

Oh yes and developement should pick up again next week as i've had a busy period these past couple of weeks and havent been able to spend time coding

Phil: can UVLayout accept more command line parameters than "-plugin"
it would be nice to be able to start it directly with the load options in the command line


Update *CHECK First Post*
Back to top
View user's profile Send private message
headus
Site Admin


Posts: 2894
Joined: 24 Mar 2005
Location: Perth, Australia

PostPosted: Sat Jul 28, 2007 6:41 pm    Post subject: Reply with quote

"... start it directly with the load options in the command line"

No worries, I can do that ... should be able to get it into the next release.

Phil
Back to top
View user's profile Send private message Send e-mail Visit poster's website
3Dsam



Posts: 10
Joined: 17 Mar 2006
Location: France

PostPosted: Sun Jul 29, 2007 2:12 am    Post subject: Reply with quote

Hello here a first report…. Wink

First thing Arrow Sorry for my bad english...

Test with 3DS max 9 - 32 Bits and Win XP 32.

1) No problem for the installation of the scrip (in a Toolbars).

2) With a simple object (Editable Poly):
- No problem for export to UVLayout.
- With the importation, on an object polygonal, there is no more addition of additional edges (good thing…)

3) "As it stands this plugins will collapse your stack, so be prepared"........May be for a next release... Smile

Just a question: “keep current UVs” tick box
I do not understand the difference with or without?

3Dsam...
Back to top
View user's profile Send private message
r_knightly



Posts: 74
Joined: 29 Jun 2007

PostPosted: Sun Jul 29, 2007 2:53 am    Post subject: Reply with quote

Quote:
Just a question: “keep current UVs” tick box…
I do not understand the difference with or without?


basicly if this is unchecked it discards your UVs when exporting to uvlayout. This is usefull when you want to start your uvs from scratch.
Its basicly taking the place of the new UV load option in UVlayout

Code:
3) "As it stands this plugins will collapse your stack, so be prepared"........May be for a next release... :)


its my plan to make the next release stack friendly. I also want
to do away with max's importer
Back to top
View user's profile Send private message
3Dsam



Posts: 10
Joined: 17 Mar 2006
Location: France

PostPosted: Mon Jul 30, 2007 7:27 am    Post subject: Bug or not bug...;-)) Reply with quote

Caution:
If in your work, you use the File menu > Import >….with the following parameters:

Texture coordinates = UnChecked

....these parameters are preserved.........and during the use of the scrip UVPipe, impossibility of importing UVs since UV Layout with Message Box "No UVs were recieved from UV Layout"



OBJ Importer.jpg
 Description:
 Filesize:  49.15 KB
 Viewed:  147603 Time(s)

OBJ Importer.jpg


Back to top
View user's profile Send private message
r_knightly



Posts: 74
Joined: 29 Jun 2007

PostPosted: Mon Jul 30, 2007 2:42 pm    Post subject: Reply with quote

once i have my OBJ importer finished that wont be an issue anymore Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic All times are GMT - 8 Hours
Goto page 1, 2, 3, 4, 5, 6, 7  Next
Page 1 of 7

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group