Hi all,
For an OpenGL based export I need to sometimes repeat only the u or v dimension
of a texture.
I've been searching but it seems you can only disable repeat for both u and v
combined using the "once" keyword in the concerning image_map block.
Is there any way / work around to toggle the repeat for u or v separately?
I'm using this macro as a place holder
--------
#macro getPngMapType(idx)
//POV-Ray does not support u or v only repeat.
// for the time being use repeat for both in all cases.
#if (getPngNeedsURepeat(idx) | getPngNeedsVRepeat(idx))
map_type 0
#else
map_type 0 once
#end
#end
Post a reply to this message
|