Go Back   AC3D Forums > General > AC3D General
Register FAQ Members List Calendar Today's Posts

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 27th October 2008, 12:39 PM   #1
jcummings
Junior Member
Junior member
 
Join Date: Jun 2007
Posts: 7
Default Texture clamping and repeating

I'm looking for clarification and/or correction on the clamping of texture and the texrep parameter. In essence, what should the clamping mode be when no texrep parameter is specified? That is, should an image start wrapping around the other side even if the texture coordinates are 1.0?

My question stems from switching from custom OpenGL code to render AC3D models to OpenSceneGraph. Our custom code would set the OpenGL clamping mode to not repeat (CLAMP_TO_EDGE I think) unless there was a texrep line. Well, OSG behaved differently and I'm not sure which one is considered "correct." In this thread on the osg-users list:

http://www.mail-archive.com/osg-user.../msg17192.html

I have attached an example model (may not have show up on the archives yet).

If our custom code behavior is not considered correct, what is the correct way to change the AC3D model?
jcummings is offline   Reply With Quote
 

Tags
clamping, texture, texture clamping, texture repeat


Posting 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



All times are GMT -4. The time now is 07:33 PM.


AC3D Forum
(C) Inivis Limited 2020