I have a Question

Posted By: mohsen123

I have a Question - 05/22/07 11:44

hi
i have 2 question and i wish someone help me
can any one tell me how can i make a mirror with c script ?
"i was see mirror sample in AUM . in this sample i shoud make another room and make alpha=30 or low the betweens. but now i wanna make a mirror texture"
can i do this ?

my 2th question :
in my game i make a view.
can i use this view as a texture for a mdl object in my room ?

thank 3DGS And this website.(and you)
Posted By: MrCode

Re: I have a Question - 05/23/07 01:39

I believe you want render to texture. If you have Pro, you can do this.
Posted By: mohsen123

Re: I have a Question - 05/24/07 07:00

thank u for answer me.

hey my freind
can you tell me more abaut render to texture?

i mean > i wanna have A cod that i can use a view as a texture.
and a cod for have a mirror texture in my room.
is it possible with c-script and SED?
is there any cod in SED that do this ?
Posted By: xXxGuitar511

Re: I have a Question - 05/28/07 15:46

SED is just a script editor for c-script, therefore it won't have its own commands.

I'm not going to explain the full process, but basically you use a view, a clip plane, the shader I just posted in the Shaders section (textureToScreen), and a little bit of simple math and vector rotations. Then you'll have a crystal clear mirror!
Posted By: mohsen123

Re: I have a Question - 06/07/07 03:16

thank you .
but /
i steal can not find my answer.
Posted By: D3D

Re: I have a Question - 06/07/07 04:26

Render to texture feature will be available in A7 Commercial. Mirror such as in Pro is very slow. You can take the fake mirror solution from AUM in this case.
Posted By: xXxGuitar511

Re: I have a Question - 06/07/07 05:59

Actually its not slow at all. I don't have the best PC, and I still had 12 views rendering to textures at over 30 fps...

...it's not slow at all
Posted By: lostclimate

Re: I have a Question - 06/07/07 10:14

I think he was talking about the mirror flag in wed in pro
Posted By: mohsen123

Re: I have a Question - 06/30/07 15:14

no
Iwanna have a mirror in my game
ok ?
can any one help me ?

imust use a cod ?
or
use a new version ?
or ... ?
what can i do?
Posted By: tompo

Re: I have a Question - 06/30/07 15:22

create camera_1 looking at you front of the wall
camera_1.bmap = bmap_for_entity(entity,0); //view will be showing at this entity so you will se yourself and everything behind you(mirror)
but you have to have pro version

waana see in action? look here web page
© 2023 lite-C Forums