Texture coordinates

Everything related to 3D programming
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: Texture coordinates

Post by Polo »

Probably but I want to add them using functions, not through a .mesh ;)
User avatar
J. Baker
Addict
Addict
Posts: 2178
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Re: Texture coordinates

Post by J. Baker »

Polo wrote:Probably but I want to add them using functions, not through a .mesh ;)
Well all you have to do then is see how a 3D editor does it and/or read the OGRE specs, then just write a procedure for it. ;)
www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef

Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT


Even the vine knows it surroundings but the man with eyes does not.
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: Texture coordinates

Post by Polo »

If there's no PB procedure to set a texture to use the second set of texcoords then there's no way I can write a procedure to do it (unless messing around with material script, but i'm definitely not doing that for a simple task like this :) )
PMV
Enthusiast
Enthusiast
Posts: 727
Joined: Sat Feb 24, 2007 3:15 pm
Location: Germany

Re: Texture coordinates

Post by PMV »

As long as you just need to load it at beginning, there is no need to
make it with commands at runtime. The commands are just needed
if there is a dynamic needed. There are not for your laziness. ;-)

And by the way: If you really use OOGRE3D you have to work with
materials. :) There is still much that PB can not access with
commands.

MFG PMV
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: Texture coordinates

Post by Polo »

PMV wrote:As long as you just need to load it at beginning, there is no need to
make it with commands at runtime. The commands are just needed
if there is a dynamic needed. There are not for your laziness. ;-)
I want it to be dynamic, hence the need for a command.
PMV wrote:And by the way: If you really use OOGRE3D you have to work with
materials. There is still much that PB can not access with
commands.
Indeed, that's why I'm asking for a command ;)
Post Reply