Question about GLnodes

Advanced OpenGL source port fork from ZDoom, picking up where ZDoomGL left off.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Wiki] [Repo] [Bugs&Suggestions]

Moderator: Graf Zahl

Locked
User avatar
Eriance
Posts: 150
Joined: Wed Mar 29, 2006 19:36
Location: Everywhere and nowhere
Contact:

Question about GLnodes

Post by Eriance »

I was wondering. Would building GL nodes with the GL based node building (there is a GL version of ZDBSP, right?) make my maps run faster in GL mode? O_o LIke the 3d floors and such.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

No. If no GL nodes are not found they are built internally. For large maps it will load the maps faster though. And BTW, don't even bother building normal nodes for GZDoom maps. They serve no use because the engine can't render the map with them.

Best build compressed GL nodes with ZDBSP. They have the advantage that both GZDoom and ZDoom can read the map without requiring an internal node build.
User avatar
Eriance
Posts: 150
Joined: Wed Mar 29, 2006 19:36
Location: Everywhere and nowhere
Contact:

Post by Eriance »

Graf Zahl wrote:No. If no GL nodes are not found they are built internally. For large maps it will load the maps faster though. And BTW, don't even bother building normal nodes for GZDoom maps. They serve no use because the engine can't render the map with them.

Best build compressed GL nodes with ZDBSP. They have the advantage that both GZDoom and ZDoom can read the map without requiring an internal node build.
I have to build nodes with ZDBSP by default since i use a lot of poly objects. But I do this with Doombuilder, is there a way to do this without DB (like just dragging the map into the ZDBSP.exe)?
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

You have to specify the correct command line options so Drag&Drop won't work.

Here's a small batch I am using to build nodes:

Code: Select all

zdbsp -z -x -b -r %1
del %1
ren tmp.wad %1
schnaader
Posts: 1
Joined: Mon Sep 26, 2005 14:54
Location: Germany
Contact:

Post by schnaader »

Graf Zahl wrote:You have to specify the correct command line options so Drag&Drop won't work.

Here's a small batch I am using to build nodes:
And if you need Drag&Drop, you can Drag&Drop the WAD on the batch file :)
User avatar
MartinHowe
Posts: 154
Joined: Tue Aug 30, 2005 22:07
Location: East Suffolk (UK)

Post by MartinHowe »

Graf Zahl wrote:You have to specify the correct command line options so Drag&Drop won't work.

Here's a small batch I am using to build nodes:

Code: Select all

zdbsp -z -x -b -r %1
del %1
ren tmp.wad %1
Good idea, but I can't resist embellishing it for the Win 2K/XP CLI :)

Code: Select all

@echo off
echo.
echo %0 - Create nodes for GZDoom-specific WADs
echo.
rem
setlocal
set inf=%~dpnx1%
set tmpf=%~dpn1%.bsptmp
zdbsp -z -x -b -r -o %tmpf% %inf%
set err=%errorlevel%
if %err% neq 0 exit /b %err%
move %tmpf% %inf%
set err=%errorlevel%
if %err% neq 0 exit /b %err%
endlocal
Of course this won't work on *nix but that's not a problem right now :) In any case sh and csh are far better than cmd.exe anyway.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

needless work for something that primitive. :mrgreen:
Locked

Return to “GZDoom”