@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info


Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10



Comments:

<Scottc> glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); is causing my program to crash whenever I alt tab
<Scottc> Any idea why?
<Ghaleon> yes
<Ghaleon> we call it OpenGL
<Ghaleon> your device context is probably invalid
<Kosher> Hey
<Kosher> I am trying to figure out how this application is generating its vertex index. When I give it the face data:
<Kosher> f 1 2 4 3, f 3 4 6 5, f 5 6 8 7, f 7 8 2 1, f 2 8 6 4, f 7 1 3 5
<Kosher> it generates the index list below
<Kosher> 0 1 2 0 2 3 4 5 6 4 6 7 8 9 10 8 10 11 12 13 14 12 14 15 16 17 18 16 18 19 20 21 22 20 22 23
<Ghaleon> probably magic numbers
<Ghaleon> why not send in one at a time
<Ghaleon> should be easier
<Kosher> http://www.thomasgoddard.com/PasteCode/tabid/149/Default.aspx?SourceCodeID=69
<Kosher> there is the whole problem layed out and commented
<Ghaleon> send in one at a time
<Ghaleon> analyse
<Ghaleon> problem solved
<Kosher> what do you mean?
<Ghaleon> one face at a time
<Ghaleon> it's hard to read with all of them
<Ghaleon> too much data
<Kosher> ok
<Kosher> http://www.thomasgoddard.com/PasteCode/tabid/149/Default.aspx?SourceCodeID=70
<Kosher> so there
<Kosher> less data
<Kosher> same question
<Ghaleon> looks like regular quad generation
<Ghaleon> triangle 012, and 023 make a quad
<Kosher> yes
<Kosher> but how is that quad generated from 1243 face?
<Ghaleon> well
<Ghaleon> the face has 1243
<Ghaleon> subtract 1
<Ghaleon> and you get 0132
<Kosher> why subtract 1?
<Ghaleon> 1243 is obviously 1 based
<Kosher> yes
<Ghaleon> where 012 and 023 are 0 based
<Kosher> 0 2 3 != 132
<Kosher> oh
<Kosher> so how do you triangulate still?
<Ghaleon> there's math behind it
<Ghaleon> er
<Ghaleon> lots of pages
<Ghaleon> ;)
<Ghaleon> read the DX-docs for example
<Ghaleon> it's the same as a tri-strip
<Ghaleon> or a tri-fan
<Ghaleon> one of those
<Kosher> so what you're saying is that it's optimized?
<Ghaleon> tri-strip would be more optimal if all the faces are next to each other
<Ghaleon> what you are getting is just tri-list
<Ghaleon> which is ok, but not as fast
<Kosher> yes
<Kosher> exactly
<Scottc> sleep.
<Kosher> the vertex indices in the list at the bottom of that URL are optimized though
<Kosher> the original data is not
<Ghaleon> no it's not
<Ghaleon> you're ending up with like 23 vertices when all you need is 7
<Ghaleon> it's duplicating them for some reason
<Kosher> it's triangulating
<Ghaleon> it should be able to triangulate without extra vertices
<Ghaleon> since you p***ed them all in to start
<Kosher> hehe
<Kosher> in a perfect world
<Kosher> so lets say it can't
<Kosher> how do I build the non optimized vertex list?
<Kosher> the same vertex indices you see on tha tlist
<Ghaleon> duplicate the vertices as they come in
<Ghaleon> and use those indices
<Ghaleon> then follow the same pattern for the first face you used
<Ghaleon> use indices 023, and 012
<Kosher> well if I used 1243 as my input data and wanted to get a vertex indices list that matched the vertex list below, what do you mean duplicate the vertices as they come in?
<Kosher> not sure I follow the logic
<Ghaleon> go read a book
<Ghaleon> I go sleep
<Kosher> lol
<Ghaleon> if you don't understand it by now, I don't think I can teach you
<Ghaleon> it's really really simple
<Kosher> lol
<Kosher> I am over complicating it
<Ultyma> gah
<Ultyma> my damn router is a pos
<Hhhhh> hmm, Linksys?
<Ultyma> ya
<Hhhhh> I feel your pain brother
<Ultyma> the diag light keeps going on
<Ultyma> and i lose WAN connection
<Dr_Rambo> HOLY ****
<Dr_Rambo> some ppl were driving on the highway while doing their makeup
<Dr_Rambo> with BOTH HANDS OFF THE WHEEL
<Hhhhh> they should die
<Ultyma> wtf
<Dr_Rambo> they surely woudl be
<Dr_Rambo> the problem is the ppl who are their victim
<Dr_Rambo> who drive responsibly
<Ghaleon> Ultyma: updated yer flashrom?
<Ghaleon> or tried a different channel?
<Ultyma> there hasnt been a bios release since 2004
<Ultyma> err firmware
<Ultyma> i just reset it to factory settings
<Ultyma> and it appears to be working better
<Ultyma> time to install all my coding stuff
<Ultyma> sigh
<Ghaleon> did you reformats?
<Ultyma> this is my new computer
<Ultyma> brand news
<Ghaleon> ohj
<Ghaleon> well I formateds two weeks ago
<Ghaleon> so I know j00r painz
<Ultyma> :D
<Kosher> Ghaleon!
<Kosher> I cleaned up the view a bit
<Kosher> http://www.thomasgoddard.com/PasteCode/tabid/149/Default.aspx?SourceCodeID=72
<Kosher> actually
<Kosher> use this one
<Kosher> http://www.thomasgoddard.com/PasteCode/tabid/149/Default.aspx?SourceCodeID=73
<Kosher> so how do I triangulate the original data?
<Kosher> duplicate the positions and use the new positions instead?
<Kosher> as the indices?
<Ultyma> im boired
<Kosher> Ghaleon: You'll be proud!!
<Kosher> http://www.thomasgoddard.com/PasteCode/tabid/149/Default.aspx?SourceCodeID=77
<Frobozz> Wtf is that? Looks like a fancy version of Wavefront Studio's OBJ file format
<Kosher> hehe
<Kosher> I'm disecting it
<Frobozz> http://news.bbc.co.uk/1/hi/uk/4654579.stm
<jonask> hi, is this channel primarily about game programming or game design?
<Dr_Rambo> both
<Fly_Mario> and some talk about games in general
<Dr_Rambo> yep
<jonask> ok. I did some tests the other day with writing a multiplayer server in C# and IronPython. The goal is to investigate how good IronPython is for prototyping gamelogic, etc, without having to recompile the c# parts.
<jonask> Have anyone else tried something along these lines?
<Dr_Rambo> well, it's really, mostly coders in this channel.. so probably primarily programming talk
<Dr_Rambo> although I am not coder
<Dr_Rambo> just a game "enthusiast"
<Dr_Rambo> I don't even know what IronPython is. LOL sounds mean
<Dr_Rambo> and tasty
<jonask> hehe. an IronPython demo: http://msdn.microsoft.com/msdntv/episode.aspx?xml=episodes/en/20051110PythonJH/manifest.xml
<Gramse> Question: The trigger upon joining says now warez doest my own gamedemos count toward wares?
<Gramse> bah cant write today. "no warez. does my own"
<_Astaroth> Gramse: http://www.google.com/search?q=define%3A%20warez&hl=no&meta=
<Fly_Mario> they need to have a pascal .net implementation
<Gramse> heh i guess, thanx astaroth
<_Astaroth> unless your game demos are illegal pirated software, no :)
<Fly_Mario> stfu newb
<_Astaroth> sup fly
<Fly_Mario> not much. Starting to warm upo outside. Been able to do some flying. Keeping busy
<Fly_Mario> you?


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #gamedev
or
Go to some related logs:

#visualbasic
#mirc
#beginner
#computers
keiranightly
#delphi
syspro .int database
#freebsd
everybady talking tab
#gentoo



Home  |  disclaimer  |  contact  |  submit quotes