Substance Painter
In this start to finish texturing project within Substance Painter we cover all the techniques you need to texture the robot character.
# 1 10-11-2002 , 11:25 PM
kbrown's Avatar
Moderator
Join Date: Sep 2002
Location: London, UK
Posts: 3,198

Create Reference Image Planes - Mel Script

Hrr...here it is user added image

My first, not complete, not optimized, not fully tested, propably buggy but somewhat usable I hope user added image

Just extract it in your "My Documents/maya/scripts" folder and type "refplanes;" in the command line (or make a shelf button).

c & c + bugreports are welcome.


Kari
- My Website
- My IMDB

Do a lot, Fail a lot and Learn a lot!

Last edited by kbrown; 13-11-2002 at 07:59 PM.
# 2 10-11-2002 , 11:54 PM
kbrown's Avatar
Moderator
Join Date: Sep 2002
Location: London, UK
Posts: 3,198

How to use it...

I forgot that there is no documentation so you prolly don't know what to do with it user added image Here's a brief explanation.

The script creates polygon planes with reference images for top, side and front views. Leave the image file name blank if you don't wish to create that plane.

It also creates a locator and adds a new attribute to it. With this attribute you can control the transparency of the planes.

The planes are also added to a new layer called REF_PLANES which is set to "reference" mode so you don't accidentally select them.

That's about it. I still need to work on the placement of the planes. For now you may wish to move them manually.


Kari
- My Website
- My IMDB

Do a lot, Fail a lot and Learn a lot!
# 3 11-11-2002 , 12:02 AM
kbrown's Avatar
Moderator
Join Date: Sep 2002
Location: London, UK
Posts: 3,198
Here's a screen shot:


Kari
- My Website
- My IMDB

Do a lot, Fail a lot and Learn a lot!
# 4 11-11-2002 , 12:07 AM
BabyDuck's Avatar
Subscriber
Join Date: Nov 2002
Location: USA
Posts: 1,170
interesting, just wait for others to test it. i dont have anything that has front side top images which i could use to model. and trying out the anatomically perfect pictures of body parts i am not good enough to model yet - and i would not know how too put skin on top of the muscles user added image

# 5 11-11-2002 , 12:12 AM
kbrown's Avatar
Moderator
Join Date: Sep 2002
Location: London, UK
Posts: 3,198
One other thing...I believe this doesn't work on any other platform than NT (at least the browse buttons won't I think).


Kari
- My Website
- My IMDB

Do a lot, Fail a lot and Learn a lot!
# 6 11-11-2002 , 12:25 AM
mtmckinley's Avatar
The Maya Mountain
Join Date: Aug 2002
Location: Seattle, WA
Posts: 8,245
I'll be sure to try it out for my next project, kman. user added image

# 7 11-11-2002 , 02:40 AM
adldesigner's Avatar
Registered User
Join Date: Sep 2002
Location: CCS, Venezuela
Posts: 3,363
Great work K! I´ll be sure to test drive it tomorrow ...

# 8 11-11-2002 , 08:33 AM
Roman's Avatar
Supreme Being
Join Date: May 2002
Location: Athens, Greece
Posts: 1,123
interesting work man.. i'll be checkin' it out too.. :p

# 9 12-11-2002 , 04:40 PM
Subscriber
Join Date: Jun 2002
Location: Texas
Posts: 374
Looks like a really cool script kbrown though i can't get it working. I run the script, browse for the images but when i click go, i receive the error, the source attribute cannot be found. user added image

# 10 12-11-2002 , 10:58 PM
kbrown's Avatar
Moderator
Join Date: Sep 2002
Location: London, UK
Posts: 3,198
mrmacca: could you please turn on the Script->Show Line Numbers (in the script editor) and try to run it again. Then paste the error with the line number so I can debug this better.

Oh, and which maya version and os are you using?


Kari
- My Website
- My IMDB

Do a lot, Fail a lot and Learn a lot!
# 11 13-11-2002 , 12:04 AM
Subscriber
Join Date: Jun 2002
Location: Texas
Posts: 374
i'm running version 4 on xp pro, here's the error..

// Error: file: C:/Documents and Settings/My Documents/maya/4.0/scripts/refplanes.mel line 222: The source attribute cannot be found. //

Is that what you needed?

# 12 13-11-2002 , 09:08 AM
kbrown's Avatar
Moderator
Join Date: Sep 2002
Location: London, UK
Posts: 3,198
Yes, thanks. I'll look in to this later today...


Kari
- My Website
- My IMDB

Do a lot, Fail a lot and Learn a lot!
# 13 13-11-2002 , 07:56 PM
kbrown's Avatar
Moderator
Join Date: Sep 2002
Location: London, UK
Posts: 3,198
Updated the script to V0.0.3

-Removed the place2dTexture nodes from the ref plane shaders. There was some version conflicts and they're not used for anything anyway.
-Set the starting folder to "<current project>/sourceimages".

Known issues
I didn't make the script connect the transparency attributes of the file texture node due to
some different behaviour between maya 4.5 and earlier versions. I think you can connect them
manually if you're using 4.0 (so you can benefit from a possible alpha channel stored in the image).


Kari
- My Website
- My IMDB

Do a lot, Fail a lot and Learn a lot!

Last edited by kbrown; 13-11-2002 at 08:00 PM.
# 14 13-11-2002 , 08:00 PM
kbrown's Avatar
Moderator
Join Date: Sep 2002
Location: London, UK
Posts: 3,198
Oops, I screwed up user added image

Here's the file:


Kari
- My Website
- My IMDB

Do a lot, Fail a lot and Learn a lot!
# 15 13-11-2002 , 08:10 PM
Kevin
Guest
Posts: n/a
hey great work k-man!!!! cheers

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads