![]() |
| Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact |
| ||||||
This is a discussion on Another new 3D engine for homebrew devs! Raptor 3D within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; Discuss here... Quoted from Kojima in the PS2DEV forums Hi, Here's the first alpha of raptor 3d, http://www.savefile.com/files/7771278 It's a ...
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 | ||
![]() |
Discuss here...
![]() ![]() Quoted from Kojima in the PS2DEV forums Quote:
Quote:
Code:
InitRaptor();
Joypad *joy = new Joypad;
Display *sys = new Display(argc,argv);
Camera *vcam = Factory->ProduceCamera();
vcam->Position(0,8,-20);
Renderer->_ActiveCam = vcam;
vcam->PointAt(0,0,0);
Entity *ent = LoadB3D( (const char *)"ship1.b3d",NULL );
ent->Rotate(90,90,90);
ent->Position(50,0,0);
if(ent==NULL)
{
Logger->Log("Loadb3d returned null entity.\n");
}
else
{
Logger->Log("Loadb3d returned valid entity.\n");
}
Font *fnt = new Font("fnt1.bmp",32,32);
FontRenderer->SetActive( fnt );
FontRenderer->SetColor(1,1,1);
float cx,cy;
cx=0;
cy=0;
float ex=0;
int ec = Renderer->CountEntities();
Logger->Log("Entities:%d \n",ec);
ent = Renderer->GetEntity(0);
Logger->Log("Got Entity.\n");
ent->Position(25,25,25);
if(ent == NULL)
{
Logger->Log("Entity is null.\n");
}
else
{
Logger->Log("Entity not null.\n");
}
while(1)
{
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
//vcam->Move(0,0,0);
glLoadIdentity();
joy->Update();
float xi,yi;
xi = joy->_x;
yi = joy->_y;
if(fabs(xi)>0.4)
{
cx+=xi;
}
if(fabs(yi)>0.4)
{
cy+=yi;
}
ent->Position(0,0,0);
ent->Rotate( cy,cx,0 );
FontRenderer->RenderText(0,0,"Gui Test Alpha 1");
Renderer->RenderScene();
if( joy->_rtrigger )
{
screenshot("mplay");
}
glutSwapBuffers();
}
..Getting frontpaged, and I needed a place for the devs to discuss about this.
|
||
|
|
|
|
|
#4 | |
![]() ![]() is not posting very often
|
looks good, i like how its pretty easy to use.
__________________
Quote:
|
|
|
|
|
|
|
#7 | |
![]() |
Quote:
__________________
[CENTER]- 3.40 OE PSP Thanks to DAX :] - DS + R4DS Cart - 1.90 PS3 + YDL [B]ilykitty<3[/B][/CENTER] |
|
|
|
|
|
|
#10 | |
![]() ![]() My name is Mud
|
Quote:
But yes, this seems like an OK engine, dont know if it compairs to LTE but its open source...
__________________
|
|
|
|
|
|
|
#11 |
![]() |
This is cool will meybe get some real game play like original game for psp.
__________________
Free Prizes at [url=http://www.prizerebel.com/index.php?r=189687]Prizerebel[/url] Join us! I already got [b]11[/b] Gifts. Ask me for details or proof. |
|
|
|
|
|
#12 |
![]() ![]() ...in a dream...
|
After looking through the file in the zip, seems like pretty straightforward 3d engine re-built using PSPGL... I wonder though, why not just use the implemented glRotatef/Scalef instead of writing your own?
P.S. And how'd you stumble upon this cyanide?
__________________
...you'll never know what it's like... spending your whole life in a dream...
Launch a Kitten out of a Cannon and win real cash! Checkout my newly updated site for all my projects (Kitten Cannon, BOXHEAD, Light Cycle 3D) Last edited by NeilR-X; 07-25-2006 at 02:32 AM.. |
|
|
|
|
|
#13 |
![]() |
for **** sake you guys, every signle thread you have posted in has been to flame each other, stop it with the flaming you ruinging everyones threads and will end up getting them locked.
I seriously hope a decent moderator will ban you for sometime so you can cool down.
__________________
[CENTER][SIZE=1][URL=http://forums.qj.net/search.php?][COLOR=Red]Need Help?[/COLOR][/URL] [URL=http://forums.qj.net/showthread.php?t=9708][COLOR=Black]Operation Positive Posting[/COLOR][/URL] [URL=http://forums.qj.net/showthread.php?t=4394][COLOR=Red]Piracy Policy[/COLOR][/URL] [URL=http://forums.qj.net/showthread.php?t=49762][COLOR=Black]The Guide To All Guides[/COLOR][/URL][/SIZE][/CENTER] |
|
|
|
![]() |
| Tags |
| devs , engine , homebrew , raptor |
| Thread Tools | |
|
|