Forum: Poser - OFFICIAL


Subject: Do you hate the Transparency 'dots'? Here's how to get rid of them.

Staale opened this issue on Apr 24, 2002 ยท 21 posts


Staale posted Wed, 24 April 2002 at 2:50 AM

The image above shows the kyoko hair in preview mode after i hacked the hr2 file, you can change the colour of the wireframe by changing the poser foreground colour.

Have you ever cursed the way poser displays transparent hair, clothing and prop objects in the preview mode? If you have then here's a simple cure for that dotty annoyance.

And I want to point out that even you can do this, you have to edit the Poser script file, but it is only one command so even if you have never programmed before you should manage this, and even if you get it wrong it will turn out right!

The poser script (cr2, pz3, pp2 hr2 etc...) command you have to change is: displayMode, it selects which preview render mode the object should use when displayed in poser, normally it is set to USEPARENT which will use whatever mode you chose in poser. If you use any of the other display modes then that object will permanently used that mode regardless of which mode you select. So to get rid of the transparent 'dots' you simply have to set displayMode to a preview render that does not use transparent mapping.

So this is what to do:

  1. Start a text editing program.
    (I use TextPad, free from http://www.textpad.com/)

  2. Load the file you want to fix (like KyokoHair_MK2.hr2).

  3. Search for "displayMode"
    (If you want to do a manual search then its above the material settings at the end of the script, so go to the end and then move upwards till the beginning of the material settings.)

  4. Change the script:

Here's a cut and paste from KyokoHair_MK2.hr2
-->
displayOrigin 0
displayMode USEPARENT
customMaterial 32
material Preview
{
<--

The script says

displayMode USEPARENT

change to

displayMode WIREFRAME
(this is the default mode, so if you get it wrong then the object will be shown as a wireframe, so you can basically type in anything you want)

or

displayMode CARTOONNOLINE
(PS: its Cartoon-No-Line, don't forget the NO part)

  1. Save the file.
    (if this is the first time you edit a Poser script then make a copy of the original file before saving, or check if you still have the original Zip)

The file is now permanently fixed, you never have to fix it again.

Here are the displayMode commands I hacked out of posers exe file last night.
(Hint! Do a cut and paste and save this info)

USEPARENT
CARTOONNOLINE
FLATLINED
SMOOTHLINED
SHADEDOUTLINE
SCETCHSHADED
FLATSHADED
TEXTURESHADED
SHADED
HIDLINE
SILHOUETTE
EDGESONLY
WIREFRAME

You can also use this trick to mix display modes when doing cartoon renders or other preview work, use TEXTURESHADED to get full preview mapping which allows you to use reflection maps on objects when doing cartoon work.

Staale