Page 1 of 2

MD3 models not displayed in gzDoom Builder

Posted: Thu Aug 30, 2018 7:43 am
by PixelWAD
I am using MD3 model for my map that is stored in PK3 file with DECORATE actor, and MODELDEF definition.
In builder I can only see the sprite I attached in modeldef, but the model itself is not visible. It does work when testing the map.

I already added gzdoom.pk3 as resource, I have enabled showing all the models. Yet it does not display.

Any ideas what is wrong?

Re: MD3 models not displayed in gzDoom Builder

Posted: Thu Aug 30, 2018 7:21 pm
by PixelWAD
Using gzDoom Builder bugfix - http://devbuilds.drdteam.org/gzdbbf/ - solves the issue. Models are being shown in editor now. To fix the texture, I had to remove the path to the texture itself, leaving only the filename in MODELDEF.
I'm pretty sure that wiki recommends somewhere to define skin as a full path though... ?

Re: MD3 models not displayed in gzDoom Builder

Posted: Wed Sep 05, 2018 8:13 am
by Zen3001
make sure it's not disabled

Re: MD3 models not displayed in gzDoom Builder

Posted: Wed Sep 05, 2018 8:20 am
by PixelWAD
the code was like that - working perfectly in the game

   Path "models/props"   
   Model 0 "arcade_gamemachine.md3"
   SurfaceSkin 0 0 "models/props/arcade_d.png"



and this is modified version. keep in mind that gzdoom builder (standard) did not spit any error about model/path whatsoever. Only the fixed version provided me with this simple quote above which allowed me to modify my modeldef to..



   Path "models/props"   
   Model 0 "arcade_gamemachine.md3"
   SurfaceSkin 0 0 "arcade_d.png"



I'm gonna be honest, this was frustrating as fuck. But it works now. Leaving it here for others who has the same problem.

Re: MD3 models not displayed in gzDoom Builder

Posted: Fri Nov 02, 2018 11:31 pm
by X-DOOM
Not that i want to ressurect this topic, but i do encounter this kind of problem today and it ran me crazy as i am going to sleep and its gonna woke me up nutz still.

I had a old GZDB version and today i updated it with 2.3.0.3039 (6fc15a1). X64
I can see my models in game fine, i did everything as to display always show model but nothing show up. I only see the exclamation mark icons in any mode.
I check my model's path and they arent there, so it shouldn't bother.

Thanks.

Re: MD3 models not displayed in gzDoom Builder

Posted: Sat Nov 03, 2018 7:35 pm
by PixelWAD
Try the newer/updated gzdoom builder versions, i don't have any links now but i was surprised to find some..

i know the pain of little frustrations like this.

Re: MD3 models not displayed in gzDoom Builder

Posted: Sun Nov 04, 2018 2:31 pm
by X-DOOM
I have checkhed with GZDBD version and it is well the bug-fixed one of r3039 x64.
I did checked my net framework and i am on the v4.6.1.
I checked the SlimDX x64 and i have the one on the git-hub (16 Jul)
my framework version in the regedit database
my framework version in the regedit database
GZDBD version
GZDBD version

i don't know what is wrong here.

When i open the builder i have this error.

MODELDEF warning in "_ZD3K\modeldef.Props_3d_Engines.txt", line 5. DECORATE class "PROPS_3D_Engines1" does not exist.



here is 1 of a MD3 file i have that show ( ? ) in the builder.
my GZDBD model bug
my GZDBD model bug

modeldef.Props_3d_Engines.txt

Code: Select all

Model PROPS_3D_Engines1               // Name of actor in DECORATE
{
	Path "md3/props/engines"			// Path to model in PK3
	Model 0 "m_engine_large1.md3"		// Model index, model file
	//Skin 0 "m_engine_large1.png"	// Model index, texture (can be in any format supported by GZDoom)
	SurfaceSkin 0 0 "m_engine_large1.png"
	Scale 1.0 1.0 1.0			// Scale values
	INTERPOLATEDOUBLEDFRAMES
	
	// The sprite lump, sprite frame, model index, frame number
	FrameIndex ZENG A 0 0
}
i tried with both Skin and SurfaceSkin to see if there was a difference in the builder... they both show in game only.

TEXTURES.txt

Code: Select all

sprite ZENGA0, 1, 1 { Patch TNT1A0, 0, 0 }	//PROPS_3D_Engines1
Props_3d_Engines.txt

Code: Select all

ACTOR PROPS_3D_Engines1 16002
{
	//$Category 3D_PROPS
	//$Sprite ZENGA0
	//$Title "3D Prop, Engines 1"
	+SOLID
	Radius 64
	Height 160
	States
	{
		Spawn:
			ZENG A -1
			stop
	}
}

Re: MD3 models not displayed in gzDoom Builder

Posted: Sun Nov 04, 2018 2:44 pm
by X-DOOM
and info about my computer
my computer's spec
my computer's spec
more info
more info
i did test with either the x86 and x64 build... same problem.

Re: MD3 models not displayed in gzDoom Builder

Posted: Sun Nov 04, 2018 8:57 pm
by Kappes Buur
I'm not sure if this will help.

You probably have DirectX12 installed. Unfortunately, NVIDIA Control Panel
only shows the last version and not all versions which are installed.

DB2, GZDB, GZDBBF require DirectX9 to be installed as well.
To facilitate that installation I usually run the installer for DB2r1553

The other app which needs to be installed is SlimDX from SlimDX's website.
You need the End User Runtime for ".NET 4.0", either "x86 Download" or "x64 Download"
depending on which editor you use.

Re: MD3 models not displayed in gzDoom Builder

Posted: Sun Nov 04, 2018 9:40 pm
by X-DOOM
Kappes Buur wrote:I'm not sure if this will help.

You probably have DirectX12 installed. Unfortunately, NVIDIA Control Panel
only shows the last version and not all versions which are installed.
i did a dxdiag and it showed directx 11.
Kappes Buur wrote:DB2, GZDB, GZDBBF require DirectX9 to be installed as well.
To facilitate that installation I usually run the installer for DB2r1553
I installed DB2r1553.
ok i checked if i had these installation done. DX9, DX10 and DX11 are installed.
Kappes Buur wrote:The other app which needs to be installed is SlimDX from SlimDX's website.
You need the End User Runtime for ".NET 4.0", either "x86 Download" or "x64 Download"
depending on which editor you use.
i installed SlimDX x64
i have net framework 4.6.1 32 and 64 bits


ok i did all that and still not showing models
this is driving me crazy.
:cry: :cry: :cry: :cry: :cry: :cry:

Re: MD3 models not displayed in gzDoom Builder

Posted: Sun Nov 04, 2018 11:40 pm
by Kappes Buur
So, the question is, is it your map or is it the editor.
To answers that, I usually like to employ Enjay's GENE-TECH (MAP01.wad or it's companion Zoo.wad) as a litmus test, which have a lot of md3 models.

For me Zoo.wad displays like this:

[imgur]https://i.imgur.com/fpuRLo5[/imgur]

Re: MD3 models not displayed in gzDoom Builder

Posted: Mon Nov 05, 2018 12:26 pm
by X-DOOM
I will try that tonight after work :)

Re: MD3 models not displayed in gzDoom Builder

Posted: Mon Nov 05, 2018 10:28 pm
by X-DOOM
his file seem to be down somehow, i cannot download it.

Re: MD3 models not displayed in gzDoom Builder

Posted: Mon Nov 05, 2018 11:10 pm
by Kappes Buur
That's odd. The download works for me.
I'll mirror it for you

Re: MD3 models not displayed in gzDoom Builder

Posted: Mon Nov 05, 2018 11:50 pm
by X-DOOM
Kappes Buur wrote:That's odd. The download works for me.
I'll mirror it for you
thanks for the mirror.


OMG
enjay.jpg
okay... so what aint working on then? i see his model files fine in editor and in visual mode.
i must do something wrong somehow in my mod then. i just don't understand how... imma need to inspect his project then i guess.. :cry:
now i am just not going to sleep when i go bed just cause of that lol