Skip to content

u/ShivanHunter

In this archive from Nov 2011 to Jul 2014

6
posts
13
comments
4
media
70
score

Top posts

Wavefront OBJ question

OK, not sure where to put this, but r/gamedev is pretty big so someone might have an answer. I'm trying to parse a Wavefront OBJ in Java, and it's ridiculously easy for the most part (although I know ASCII formats can't be at all efficient). From what I understand, the line defining a face contains...

9 points3 comments
Open on Reddit

C++ DDS (DXT1) texture loading

So I'm a n00b when it comes to graphics coding, but I'm working on my own C++ OpenGL project. I loaded some DDS textures very easily when I was using JOGL because of its Texture class. From what I can tell, I'm supposed to: read in the source data, check the headers and capabilities to see if everyt...

3 points1 comments
Open on Reddit

Top comments

In Wings3D

In my program... HOLY SHIT WHAT IS THAT

It's got vertex locations right from what I can tell, but the faces are using all the wrong vertices. It looks like face definitions are just screwed up in general.

The line is supposed to be "f <verts> <texcoords> <normals>", right? Or am I missing something?

[EDIT] I'm missing something. It's "f <vert/coord/normal> <vert/coord/normal> <vert/coord/normal>". I'm a noob.

6 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.