" /> hackerman93045.tripod.com :: View topic - MAP texture coordinates?
hackerman93045.tripod.com Forum Index hackerman93045.tripod.com
GlDuke
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin 

MAP texture coordinates?

 
Post new topic   Reply to topic    hackerman93045.tripod.com Forum Index -> GlBuild General
View previous topic :: View next topic  
Author Message
thedrummer
Newbie


Joined: 30 Nov 2002
Posts: 6

PostPosted: Tue Dec 03, 2002 8:15 am    Post subject: MAP texture coordinates? Reply with quote

icon_biggrin.gif Hello, I'm too programming to display duke nukem levels. But I still have a lot of problems with texture coordinates that you seem to have solved, can you give me some help with x/yrepeat and x/ypanning?
Thanx anyway, David
Back to top
View users profile Send private message
MattH
Lead GLBuild Programmer


Joined: 22 Sep 2002
Posts: 9
Location: UK

PostPosted: Tue Dec 03, 2002 2:12 pm    Post subject: Reply with quote

Do you need help for the walls or floors/ceilings, or both?
Back to top
View users profile Send private message Visit posters website
thedrummer
Newbie


Joined: 30 Nov 2002
Posts: 6

PostPosted: Wed Dec 04, 2002 6:09 am    Post subject: texture coordinates (next) Reply with quote

icon_biggrin.gif In fact, I can display almost every walls without any problem, except some rare like the first level E1L1.MAP: in the main street at the very beginning when you've felt down from the drainage pipe, the wall in front of the the one you've slided where there are 2 windows (I don't know how to get there with glBuild?). Even if the use I make of x/yrepeat, x/ypanning, the stats, etc... seem to be ok almost everywhere, there is a problem there... the textures where nextsector/nextwall -1 and the texture where nextsector/nextwall != -1 are not corresponding.
Thanx for you're help (at least can you tell me how to get there with glBuild, it was a big help to determine the use of all that values)
Back to top
View users profile Send private message
MattH
Lead GLBuild Programmer


Joined: 22 Sep 2002
Posts: 9
Location: UK

PostPosted: Wed Dec 04, 2002 3:32 pm    Post subject: Reply with quote

Do you mean the texture used to mask the area you would normally see through in a 2-way wall, i.e. a wall with the 1-way or masked bit set?
Back to top
View users profile Send private message Visit posters website
thedrummer
Newbie


Joined: 30 Nov 2002
Posts: 6

PostPosted: Thu Dec 05, 2002 6:35 am    Post subject: Reply with quote

No, the wall to display in 2 parts because nextwall/nextsector is not -1, here is a capture:

You can see than the textures are not corresponding. I can not understand why...
Back to top
View users profile Send private message
MattH
Lead GLBuild Programmer


Joined: 22 Sep 2002
Posts: 9
Location: UK

PostPosted: Thu Dec 05, 2002 7:46 am    Post subject: Reply with quote

Can't see picture
Back to top
View users profile Send private message Visit posters website
thedrummer
Newbie


Joined: 30 Nov 2002
Posts: 6

PostPosted: Thu Dec 05, 2002 8:07 am    Post subject: Reply with quote

Strange... it displays well for me...
Anyway, not a problem, i'll try (and succeed) to fix that all. I work on the floors and ceilings at the moment, having problems of coordinates too large for gluTess to make the contours.
Thanx for your great job anyway.
David
Back to top
View users profile Send private message
MattH
Lead GLBuild Programmer


Joined: 22 Sep 2002
Posts: 9
Location: UK

PostPosted: Thu Dec 05, 2002 10:25 am    Post subject: Reply with quote

Picture works now.
OK, I assume that for the wall you are starting with the texture coordinates at the top and going all the way to the bottom. There is an align-to-top flag which means for the bottom part of the wall you have to start the texture coordinates from the top of the texture rather than carrying on from the top part of the wall. I think thats how it works anyway, I coded the wall textures many months ago and it's quite confusing anyway. I'll check properly later.
Back to top
View users profile Send private message Visit posters website
thedrummer
Newbie


Joined: 30 Nov 2002
Posts: 6

PostPosted: Thu Dec 05, 2002 1:07 pm    Post subject: Reply with quote

Well, i'm gonna try that, thank you very much.
Do you use gluTess**** to display floors and ceilings?
Don't you have any problems?
Back to top
View users profile Send private message
MattH
Lead GLBuild Programmer


Joined: 22 Sep 2002
Posts: 9
Location: UK

PostPosted: Thu Dec 05, 2002 5:29 pm    Post subject: Reply with quote

Yeah, I use the tess functions. Didn't have any problems, they worked fine.
Back to top
View users profile Send private message Visit posters website
thedrummer
Newbie


Joined: 30 Nov 2002
Posts: 6

PostPosted: Wed Dec 11, 2002 3:14 pm    Post subject: Reply with quote

All right I succeeded in all that! Thanx for all. Now I'm looking at the ART file format to have the animated textures... animated. Did you already thought about artificial intelligence?
Back to top
View users profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    hackerman93045.tripod.com Forum Index -> GlBuild General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.2 © 2001, 2002 phpBB Group