Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/20/24 20:05
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (VoroneTZ, 7th_zorro), 1,332 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
Something like a simple Modelviewer #407052
09/05/12 14:17
09/05/12 14:17
Joined: Apr 2005
Posts: 3,076
Germany, NRW
rvL_eXile Offline OP

3D Artist
rvL_eXile  Offline OP

3D Artist

Joined: Apr 2005
Posts: 3,076
Germany, NRW
Hey Guy's, first time i posting here *YEAH!* ^^
I need a simple "Model Viewer" (really simple tongue ).
It should be just an .exe file wheres one model (f.e. an block model) is included with an normalmapping shader and dynamic shadows.
It would be really nice if i could move the light in any direction (W=forwards / S=Backwards / A=Left / D=Right / Q=Up / R=down).
The Normalmapping shader should handle more than 6 Textures.

Hopely someone could do this for me laugh

Nothing more to say laugh

regards Sebastian


Tutorials:
[Blender]Terrain creation ENG/GER
[Blender]Low Poly Tree Modeling
[GIMP]Create a Texture for Terrains
CLICK HERE


Re: Something like a simple Modelviewer [Re: rvL_eXile] #407056
09/05/12 15:04
09/05/12 15:04
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Kartoffel Offline
Expert
Kartoffel  Offline
Expert

Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
I've got a question:
what do you exactly mean with 'The Normalmapping shader should handle more than 6 Textures.'?

...And if stencil shadows are good enough I probably could make something like that.

Last edited by Kartoffel; 09/05/12 15:05.

POTATO-MAN saves the day! - Random
Re: Something like a simple Modelviewer [Re: Kartoffel] #407060
09/05/12 16:07
09/05/12 16:07
Joined: Apr 2005
Posts: 3,076
Germany, NRW
rvL_eXile Offline OP

3D Artist
rvL_eXile  Offline OP

3D Artist

Joined: Apr 2005
Posts: 3,076
Germany, NRW
i will use more than 6 or 5 or what ever grin Textures in my model so the shader should be able to create the effect on all applied Normalmaps.

Quote:
...And if stencil shadows are good enough I probably could make something like that.

Would be great laugh

regards Sebastian

*moep*


Tutorials:
[Blender]Terrain creation ENG/GER
[Blender]Low Poly Tree Modeling
[GIMP]Create a Texture for Terrains
CLICK HERE


Re: Something like a simple Modelviewer [Re: rvL_eXile] #407062
09/05/12 16:13
09/05/12 16:13
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Kartoffel Offline
Expert
Kartoffel  Offline
Expert

Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
wow, looks REALLY nice.

But I'm sorry, I don't know how to use multiple textures and multiple normalmaps, if the number of textures isn't static (I don't know if this is even possible)
because for every texture a texture sampler has to be created.

Well... I'll try wink

Last edited by Kartoffel; 09/05/12 16:19.

POTATO-MAN saves the day! - Random
Re: Something like a simple Modelviewer [Re: Kartoffel] #407064
09/05/12 16:20
09/05/12 16:20
Joined: Apr 2005
Posts: 3,076
Germany, NRW
rvL_eXile Offline OP

3D Artist
rvL_eXile  Offline OP

3D Artist

Joined: Apr 2005
Posts: 3,076
Germany, NRW
thank you.
Maybe create an simple block model an apply 6 textures / normalmaps to it.


Tutorials:
[Blender]Terrain creation ENG/GER
[Blender]Low Poly Tree Modeling
[GIMP]Create a Texture for Terrains
CLICK HERE


Re: Something like a simple Modelviewer [Re: rvL_eXile] #407066
09/05/12 16:30
09/05/12 16:30
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Kartoffel Offline
Expert
Kartoffel  Offline
Expert

Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
...I'm using my own object shader and I kow it wont work.

What I mean is this:

my object shader looks like this at the beginning:
Code:
sampler ColorMapSampler = sampler_state 
{ 
	Texture = <entSkin1>;
	AddressU  = Wrap; 
	AddressV  = Wrap;
	MipFilter = Linear;
	MinFilter = Linear;
	MagFilter = Linear;
}; 

sampler NormalMapSampler = sampler_state
{ 
	Texture = <entSkin2>;
	AddressU  = Wrap; 
	AddressV  = Wrap;
	MipFilter = Linear;
	MinFilter = Linear;
	MagFilter = Linear;
};


So I've got 2 texture samplers. One for the actual texture (entity skin1) and one for the normal map (entity skin2)

The problem is that I can't just use multiple texters for one texture sampler.

this means for every texture and for every normal map I would have to create a sampler.

And if the number of textures is dynamic this just won't work frown


POTATO-MAN saves the day! - Random
Re: Something like a simple Modelviewer [Re: Kartoffel] #407067
09/05/12 16:32
09/05/12 16:32
Joined: Apr 2005
Posts: 3,076
Germany, NRW
rvL_eXile Offline OP

3D Artist
rvL_eXile  Offline OP

3D Artist

Joined: Apr 2005
Posts: 3,076
Germany, NRW
ah okay, could you create a sampler with 6 texture? This should be enough for my needs.


Tutorials:
[Blender]Terrain creation ENG/GER
[Blender]Low Poly Tree Modeling
[GIMP]Create a Texture for Terrains
CLICK HERE


Re: Something like a simple Modelviewer [Re: rvL_eXile] #407068
09/05/12 16:33
09/05/12 16:33
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Kartoffel Offline
Expert
Kartoffel  Offline
Expert

Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Ok I'll try that smile
(but it will take some time)


POTATO-MAN saves the day! - Random
Re: Something like a simple Modelviewer [Re: Kartoffel] #407069
09/05/12 16:51
09/05/12 16:51
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Kartoffel Offline
Expert
Kartoffel  Offline
Expert

Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
wow... I didn't expect that I get it working so fast since everything I could do was guessing and trying around grin



At the moment theres no customization and no shadows, yet but that shouldn't be that hard.

EDIT: The only thing that I don't know is how much textures it really supports.
My shader supports colormap and normalmap for 6 textures but the manual says 'entSkin1 ... entSkin4'
...so it could be that entSkin5 and higher just get ignored smirk

Last edited by Kartoffel; 09/05/12 16:55.

POTATO-MAN saves the day! - Random
Re: Something like a simple Modelviewer [Re: Kartoffel] #407070
09/05/12 16:54
09/05/12 16:54
Joined: Apr 2005
Posts: 3,076
Germany, NRW
rvL_eXile Offline OP

3D Artist
rvL_eXile  Offline OP

3D Artist

Joined: Apr 2005
Posts: 3,076
Germany, NRW
okay that sound great laugh if you finished could to publish it? i dont own A8 yet ^^


Tutorials:
[Blender]Terrain creation ENG/GER
[Blender]Low Poly Tree Modeling
[GIMP]Create a Texture for Terrains
CLICK HERE


Page 1 of 3 1 2 3

Moderated by  adoado, checkbutton, mk_1, Perro 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1