[Burichan] [Futaba] [Gurochan] [Photon] - [Home]

[Return]
Reply mode
Name
Link
Subject
Comment
File
Verification
Password (for post and file deletion)
Leave empty (spam trap):
  • Supported file types are: GIF, JPG, PNG
  • Maximum file size allowed is 1000 KB.
  • Images greater than 200x200 pixels will be thumbnailed.

File: 1186661271751.png -(33031 B, 512x342) Thumbnail displayed, click image for full size.
33031 No.1   [Reply]

just added some rudimentary bounding box support to a little scene renderer i'm working on, then spent half an hour wondering why the wireframes looked weird. turns out i fail anti-clockwise, and was drawing the bounding box inside-out (nyoro~n). fixed now. :)

>> No.2  
File: 1188133050235.png -(245708 B, 512x342) Thumbnail displayed, click image for full size.
245708

textures :D

>> No.3  

>>2
oooh

also ceiling cat is watching you render

>> No.4  

>>2
Hardware or software rendering?

>> No.5  

>>4
hardware, i imagine; it's opengl, and i'm pretty sure this machine has some kind of rudimentary hardware opengl implementation (but not completely certain -- it's not like i'm doing anything complex enough for it to matter at this point...).

>> No.6  

Why would you draw a bounding box in a way that caused its winding to matter? I mean... last time I did that, I used GL_LINE_LOOP and was done with it.

>> No.7  

>>6
because I'm learning, if that wasn't immediately obvious from the screen shots. the first way to do it that occurred to me was to set the polygon mode to lines and draw four quads, so that's what i did.

>> No.8  

>>7
Ah, right. Been so long since I've touched polygon modes...



Delete Post []
Password