|
Cross Lament
Loose-brained Vixen
Join date: 20 Mar 2004
Posts: 1,115
|
04-30-2006 19:23
I've noticed there's a parameter for llSetPrimitiveParams(), PRIM_TEXGEN, which is apparently for setting the texture mapping option for a prim, either 'default' or 'planar'. The script editor in-game doesn't recognize this constant, and won't compile with it. I take it this function is either mis-documented in the wiki, or not yet implemented?
_____________________
- Making everyone's day just a little more surreal -
Teeple Linden: "OK, where did the tentacled thing go while I was playing with my face?"
|
|
Zodiakos Absolute
With a a dash of lemon.
Join date: 6 Jun 2005
Posts: 282
|
04-30-2006 23:06
Did you try using PLANAR in all caps?  It might also be something like MAPPING_PLANAR or some variation thereof.
|
|
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
|
04-30-2006 23:46
No, the compiler and editor do not recognize PRIM_TEXGEN, nor PRIM_TEXGEN_DEFAULT or PRIM_TEXGEN_PLANAR. There is even a question posed in the Wiki whether they are implemented yet. My guess is that they aren't defined in the compiler yet, but you can try using the numeric values (22 for PRIM_TEXGEN; 0 for PRIM_TEXGEN_DEFAULT, and 1 for PRIM_TEXGEN_PLANAR). Those are guesses, but it is worth a shot.
|
|
Cross Lament
Loose-brained Vixen
Join date: 20 Mar 2004
Posts: 1,115
|
05-01-2006 21:12
Hehe, yeah, the question in the wiki was mine, actually.  I'll try the actual numeric values and see what happens, then. Thanks! Edit: Aha! It's fully implemented in 1.9.1. It looks like someone added it to the wiki without including that little tidbit of information. Time to go a-fixin'. 
_____________________
- Making everyone's day just a little more surreal -
Teeple Linden: "OK, where did the tentacled thing go while I was playing with my face?"
|