[wip]Texture projections on models+levels, w/ bump

Posted By: Rhuarc

[wip]Texture projections on models+levels, w/ bump - 08/18/05 21:50





Only one projector and one light supported right now, also works with parallax, but I don't have heightmaps for all the textures made yet . The projectos are ps1.1, and the normalmapping is ps1.4 Getting close to finishing the lighting shaders...

-Rhuarc
Posted By: bupaje

Re: [wip]Texture projections on models+levels, w/ bump - 08/18/05 22:16

That is looking really nice and will add lots of atmosphere to some scenes.
Posted By: Steempipe

Re: [wip]Texture projections on models+levels, w/ bump - 08/18/05 22:22

Looking very nice! Good work.
Posted By: Whisper

Re: [wip]Texture projections on models+levels, w/ bump - 08/18/05 22:24

over the rainbow great work.
Posted By: XNASorcerer

Re: [wip]Texture projections on models+levels, w/ bump - 08/18/05 23:21

Where are the shadowsof the ball and statue?
Posted By: Matt_Coles

Re: [wip]Texture projections on models+levels, w/ bump - 08/18/05 23:54

very nice work, I agree with sorceror, it needs some shadowing
Posted By: ello

Re: [wip]Texture projections on models+levels, w/ - 08/19/05 06:15

why dont you post some code?? even if its wip ...
Posted By: TheExpert

Re: [wip]Texture projections on models+levels, w/ - 08/19/05 10:45

Rhuarc :
Great work

How many FPS do you have , are they high ?
(it would be the case !)

Lot of people perhaps don't know, but texture projection
is heavy used in commercial games.
They are mainly used to project precalculated shadow , that's a lot more
fast then to project stencil shadows and you keep projection of shadow on ground and moving objects liek people , cars etc ....
And your projected shadow can be as complex as you want , the frame rate still
be the same (caus it's a bitmap not real polygon shadow)

For example you have a building and using stencil shadow to have shadow of building on floor and on moving people moving accross the shadow of it is really slow.

So what people do is use of lightmap for the building and a premade shadow bitmap, this way the projected shadow bitmap is projected on ground , objects and moving objects like cars,people etc ...
And without heavy cost on GPU like stencil shadows.

Another use can be shadow of tree leaves, but instead the more current use
is a decal that bend on polygons like in far cry palm trees.

(i hope Conitec will achieve the decal management one day, it's
very standard, old Unreal 2 engine already used that)

If you could you share your example ready to use , it would be cool
Posted By: Anonymous

Re: [wip]Texture projections on models+levels, w/ - 08/19/05 11:03

Good job Rhuarc! I can see a material projection painting program in the future from the coding here. (I do have a material painter program I made with 3DGS but it doesn't support projection painting yet).
Posted By: bupaje

Re: [wip]Texture projections on models+levels, w/ - 08/20/05 17:04

@Rhuarc - will this projection also work on sprites? Also does this have to be applied to each object with an action -so you can have some objects affected and some not- or does it hit everything on the recieving end of the projector? Had an idea and wondering if this might serve that purpose ....
Posted By: Rhuarc

Re: [wip]Texture projections on models+levels, w/ - 08/20/05 19:03

Quote:

@Rhuarc - will this projection also work on sprites? Also does this have to be applied to each object with an action -so you can have some objects affected and some not- or does it hit everything on the recieving end of the projector? Had an idea and wondering if this might serve that purpose ....




For normalmapping, it is added in an additional pass in the shader, and for normal entities, it combines the projector with the model texture and lighting in a single pass shader. Only entities you specify will receive the projector.

EDIT: Sprites should also have no problems.

-Rhuarc
Posted By: Schmerzmittel

Re: [wip]Texture projections on models+levels, w/ - 08/21/05 16:20

Sehr gut. Gefällt mir. Freue mich schon darauf selber mal sowas zu haben.
© 2024 lite-C Forums