Tips and tricks: Parametric Textures
Tips and tricks: Parametric Textures
RealWorld Graphics logo    
Not logged in.  
IndexSoftwareGraphicsArticlesDiscussMore...

Login/Register
Forum List
Announcements
Icons and Cursors
Images
3D graphics
Win32 C/C++/VB
.NET C#/C++/VB
Tips and tricks
General discussion
User List
Search this site using Google

Windows Vista icons

Find out how Vista icons differ from XP icons.

See how RealWorld Icon Editor handles Vista icons.

Select background

Back to forum Tips and tricks

Parametric Textures

2007-03-14Author: Shaun
We require a set of similar icons generated from the same model, so the parametric variables are very useful. One set of icons we are currently creating uses the same model but changes a couple of textures applied to a surface, however it appears there is no way to attribute a variable to a texture on a surface. This means we need to create a new model and rendered image for each variant, meaning future changes to the model would be labour intensive.

Is there a way to achieve the same result without needing a different model for each variant? Or is this extension to the variables likely to be added in an update soon?

2007-03-14Author: Vlasta
I am afraid parameterizing text items is not currently possible. It is one of the features planned for the next version and could eventually be made available sooner (maybe in 2 weeks).

There are workarounds, how to achieve this effect, but not very elegant. You can try placing multiple components with different textures into one model and then moving one of them into position while the others are not in the visible region.

2007-03-16Author: Vlasta
A test version is available. If you want to be able to parameterize text items, download these two files and overwrite the originals in installation folder (backup the originals): RWDocumentUnicorn3D.dll and U3D_PRMT.dll. The files are for the 32-bit version the the application only.

Text expression may contain variables, constants and + signs to concatenate them. For example if there is a variable named texname, you can use it in expressionlike this: "C:\mytextures\"+texname+".png"

To use quote in constant, type it two times.


Post Reply

Please login or register before posting.

Message text:


Back to forum Tips and tricks

Copyright © 2005-2007 RealWorld Graphics. Contact: info@rw-designer.com.