home home

downloads files

forum forum

docs docs

wiki wiki

faq faq

Cube & Cube 2 FORUM


Sauerbraten vert/index confusion

by moe on 10/23/2008 17:35, 1 messages, last message: 10/23/2008 17:37, 934 views, last view: 03/27/2024 11:39

I am trying to understand how the engine works for a custom mod.

I did a /writeobj of a default size 10 map with a single leaf cube extracted.

Here\\\'s a screenshot:

http://img508.imageshack.us/img508/sauerquestionha5.jpg/1/w960.png


here\\\'s the /writeobj dump:

# obj file of sauerbraten level
v 8192 8192 8704
v 8704 8192 8704
v 8704 8704 8704
v 8192 8704 8704
f -2 -4 -3
f -4 -2 -1
v 8704 8192 8704
v 9216 8192 8704
v 9216 8704 8704
v 8704 8704 8704
f -2 -4 -3
f -4 -2 -1
v 8192 8704 8704
v 8704 8704 8704
v 8704 9216 8704
v 8192 9216 8704
f -2 -4 -3
f -4 -2 -1
v 8704 8704 8704
v 9216 8704 8704
v 9216 9216 8704
v 8704 9216 8704
f -2 -4 -3
f -4 -2 -1

v 8560 8648 8712
v 8560 8648 8704
v 8560 8640 8704
v 8560 8640 8712
v 8568 8648 8712
v 8568 8640 8712
v 8568 8640 8704
v 8568 8648 8704

I understand the output up to this point
--------------------------------------
The output after this point confuses me.

v 8192 8192 9216
v 8192 8192 8704
v 8192 8704 8704
v 8192 8704 9216
v 8704 8192 8704
v 8704 8192 9216
v 8704 8704 9216
f -13 -15 -14
f -15 -13 -12
f -9 -11 -10
f -11 -9 -8
f -13 -10 -12
f -10 -13 -9
f -11 -14 -15
f -14 -11 -8
f -11 -12 -10
f -12 -11 -15


What is confusing me is the vertexes with a z position that appear to be out of range (9216) and also the lack of indices for the leaf cube. The indices ranging from 8 to 15 is confusing as well. Can someone clear this up? Thanks in advance.

   Board Index   

#1: sorry..

by moe on 10/23/2008 17:37

the screenshot is here

http://img508.imageshack.us/my.php?image=sauerquestionha5.jpg

reply to this message

   Board Index   


Unvalidated accounts can only reply to the 'Permanent Threads' section!


content by Aardappel & eihrul © 2001-2024
website by SleepwalkR © 2001-2024
53869338 visitors requested 71644533 pages
page created in 0.019 seconds using 10 queries
hosted by Boost Digital