Search found 17 matches

by spike0314
Thu Apr 18, 2019 11:05 am
Forum: 3D Programming
Topic: Self Shadows
Replies: 4
Views: 2697

Re: Self Shadows

Ok cheers I thought I would give it ago considering I own a copy but I shell move on.
by spike0314
Thu Apr 18, 2019 4:22 am
Forum: 3D Programming
Topic: Self Shadows
Replies: 4
Views: 2697

Re: Self Shadows

So a custom shadow shader is out the question aswell?

If that's the case is there any 3d engine libraries that are still supported by there creator worth using?

Thanks.
by spike0314
Wed Apr 17, 2019 11:51 pm
Forum: 3D Programming
Topic: Self Shadows
Replies: 4
Views: 2697

Self Shadows

Hi all
I haven't used purebasic in while and never used the 3D side of it. So I was wonder how self shadowing is done using a texture map not stencils.

Or is it possible to use stencil shadows with alpha objects like trees?

Thanks.
by spike0314
Sun Jan 08, 2012 8:16 pm
Forum: Game Programming
Topic: Light Angle
Replies: 3
Views: 2710

Re: Light Angle

yeah just found that out :D
Thank you.
by spike0314
Sun Jan 08, 2012 5:09 pm
Forum: Game Programming
Topic: Light Angle
Replies: 3
Views: 2710

Light Angle

Hi
Ive been trying to rotate a light. but there is no function for that only LightLookAt but i don't want it to look at anything just turn. so how can this be done?

Cheers
by spike0314
Thu Apr 17, 2008 7:54 pm
Forum: Coding Questions
Topic: D3DXSaveMeshToX Little Help
Replies: 1
Views: 807

have you tryed to remove "_" at the end I'm only say because the dx9 lib i have doesnt have the "_" at the end
by spike0314
Thu Apr 10, 2008 11:24 pm
Forum: Coding Questions
Topic: dx9 help [SOLVED]
Replies: 12
Views: 4375

here is the code:



localmesh.ID3DXMesh

Structure MYVERTEX
x.f
y.f
z.f
color.l
EndStructure

Dim vertices.MYVERTEX(3)

vertices(0)\x = 0.0
vertices(0)\y = 10.0
vertices(0)\z = 50
vertices(0)\color = D3DCOLOR_ARGB(255,255,0,0)


vertices(1)\x = 10.0
vertices(1)\y = 0.0
vertices(1)\z ...
by spike0314
Thu Apr 10, 2008 6:23 pm
Forum: Coding Questions
Topic: dx9 help [SOLVED]
Replies: 12
Views: 4375

:D :D :D I found my problem.

The way it works is if you dont render the face's it will only show 1 vertex
:oops:
by spike0314
Thu Apr 10, 2008 2:22 pm
Forum: Coding Questions
Topic: dx9 help [SOLVED]
Replies: 12
Views: 4375

ok this is ding my head in now.

@Tinman
i have tryed LocalMesh\GetNumVertices() but that will always just return the number that is in D3DXCreateMeshFVF(faces,vertex)
so it will return 3.

as for LocalMesh\GetNumBytesPerVertex() that returns 16 as it's the size of the structure.

I have sent this ...
by spike0314
Wed Apr 09, 2008 10:22 pm
Forum: Coding Questions
Topic: UseJPEG2000ImageDecoder() ?
Replies: 16
Views: 9237

jpg2000 is a different file formats (*.jp2, *.j2c, *.j2k,*.jpc,*.jpx)
by spike0314
Wed Apr 09, 2008 10:19 pm
Forum: Coding Questions
Topic: dx9 help [SOLVED]
Replies: 12
Views: 4375

same only shows vertices(0) :(
by spike0314
Wed Apr 09, 2008 10:08 pm
Forum: Coding Questions
Topic: dx9 help [SOLVED]
Replies: 12
Views: 4375

MYVERTEX is a structure

and this is the structure layout

Code: Select all

Structure MYVERTEX
    x.f
    y.f
    z.f
    color.l
EndStructure

I think the problem lies with-in "*pVertices" as it only adds vertices(0) to the mesh.
by spike0314
Wed Apr 09, 2008 4:12 pm
Forum: Coding Questions
Topic: dx9 help [SOLVED]
Replies: 12
Views: 4375

Im sorry i dont under stand what you mean?? :oops:
by spike0314
Wed Apr 09, 2008 12:52 pm
Forum: Coding Questions
Topic: dx9 help [SOLVED]
Replies: 12
Views: 4375

dx9 help [SOLVED]

Hi all
im trying to use Dx9 to create a Mesh but i can seem to get this peace of code to work. ( :( ive been at this peace of code four 2 days now :( :( )


LocalMesh.ID3DXMesh

Dim vertices.MYVERTEX(3)

vertices(0)\x = 0.0
vertices(0)\y = 10.0
vertices(0)\z = 50
vertices(0)\color = D3DCOLOR ...
by spike0314
Tue Oct 30, 2007 2:04 pm
Forum: Coding Questions
Topic: How do you use DirectSound to create 3D Audio??
Replies: 3
Views: 1584

because im creating a DX9 wrapper for blitz3D and Im trying todo it with out having loads of dlls and it has to be free for commercial use?