Gamestudio Links
Zorro Links
Newest Posts
freewhyblogelsewhere
by 9489cpjf. 06/03/24 06:06
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
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
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,018 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19056 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Mirrors Lite-C #298382
11/14/09 15:26
11/14/09 15:26
Joined: Oct 2009
Posts: 149
Germany
M
muffel Offline OP
Member
muffel  Offline OP
Member
M

Joined: Oct 2009
Posts: 149
Germany
ENGLISH:
Is there any way to program mirrors with the lite-C free Version

I looked through the forum and the manuel but I didn't found anything which helps me.

I think I have to do this with VIEWs

I got a second VIEW running which renders like the normal camera on the scrren.
Because I want to have a mirror I have to render this second VIEW on a Object in 3D Space(I tried using a sprite), but this rendering on an object in 3D Space I didn't got running.


GERMAN:
Gibt es eine Möglichkeit mit der Lite-C free Edition Spiegel zu Programmieren.

Ich habe schon im Forum und dem Manual gesucht, habe aber nichts gefunden was mir helfen könnte.

Ich glaube ich muss dafür ein VIEW benutzen
Ich habe es schon geschafft eine zweite VIEW wie die Standart camera auf den Bildschirm zu rendern
Da ich ja einen Spiegel im 3D Bereich haben will, muss ich ja die VIEW auf eine ENTITY rendern(habe dafür ein Sprite verwndet). Dies kriege ich aber nicht hin.

muffel

Hope that you have understood my problem and that you can help me.

My Code:
Code:
#include <acknex.h>
#include <default.c>

ENTITY* monitorsprite;

VIEW* sec_cam = 
{
	layer = 1;
//	size_x = 200;
//	size_y = 150;
//	pos_x = 10;
//	pos_y = 10;
//	flags = (SHOW);
}
action mirror()
{
	me.ambient = 100;
	set(me,PASSABLE);
	reset(me,OVERLAY);
}
function main()
{

	
	level_load("flatter.hmp");
	vec_set(screen_color,vector(0,0,1)); 
	wait(-5);
	monitorsprite = ent_create("mirror.bmp",vector(0,0,0),mirror);
	wait(1);
	sec_cam.bmap = "mirror.bmp";
	set(sec_cam,SHOW);	
}



Re: Mirrors Lite-C [Re: muffel] #298386
11/14/09 16:06
11/14/09 16:06
Joined: Aug 2000
Posts: 1,140
Baunatal, Germany
Tobias Offline

Moderator
Tobias  Offline

Moderator

Joined: Aug 2000
Posts: 1,140
Baunatal, Germany
For mirrors you must apply a mirror material and such materials are only available from Commercial Edition on.

Re: Mirrors Lite-C [Re: Tobias] #298388
11/14/09 16:17
11/14/09 16:17
Joined: Oct 2009
Posts: 149
Germany
M
muffel Offline OP
Member
muffel  Offline OP
Member
M

Joined: Oct 2009
Posts: 149
Germany
thanks for the reply
muffel

Re: Mirrors Lite-C [Re: muffel] #298397
11/14/09 17:37
11/14/09 17:37
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
ChrisB released a render-to-texture DLL that works with all versions i think, so you should still be able to get mirrors working without commercial.


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