QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Development Forum
The above video goes away if you are a member and logged in, so log in now!

Another new 3D engine for homebrew devs! Raptor 3D

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 ...

Reply
 
LinkBack Thread Tools
Old 07-23-2006, 01:09 PM   #1
 
Join Date: Sep 2005
Location: meh
Posts: 2,799
Trader Feedback: 0
Default Another new 3D engine for homebrew devs! Raptor 3D

Discuss here...





Quoted from Kojima in the PS2DEV forums
Quote:
Hi,

Here's the first alpha of raptor 3d,

http://www.savefile.com/files/7771278

It's a hybrid engine that is a port of MiniB3D by simon harris, and my own engine Trinity, both of which are open source pc gl engines.

It's wrote against the latest svn version of pspgl and as such requires you have it installed before using this.
Currently the project is a single file containing a small demo and the engine, by alpha2 maybe 3, it will be organized into seperate files for each class.

Current engine features:

SceneGraph with child/parent relationships.
Multi-texture material (Only 1 one texture supported atm, need to do multi-pass stuff)
Full suite of entity maniuplation functions, including position/rotate/lookat/scale etc.
Matrix class.
2D Engine using pens for fast orthogonal 2d rendering of rects/lines 2d textures.
2D Gui, with windows, buttons, plugin styles and more, including full mouse cursor emulation via the nub, dpad and action buttons, sliders, canvas etc
Full support for static b3d files made popular by the blitz3d Application.
Font renderer.(Uses texture based fonts)
Logger (Create text logs and log output via Logger->Log())
And some other stuff.


Next version will add boned animation via b3d and more including multi-pass texturing.

As this is open source, I'd be happy to have others contribute to the engine or even put it on the svn if enough people use it
Quote:
Example Code of how easy to use it is,
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();
  }
Discuss ..Getting frontpaged, and I needed a place for the devs to discuss about this.
cyanide is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-23-2006, 01:12 PM   #2
 
Cronos1388's Avatar
 
Join Date: Dec 2005
Location: Hoboken, NJ
Posts: 367
Trader Feedback: 0
Default

Wow, excellent. The quality of homebrew is going to really jump with all these engines around.
Cronos1388 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-23-2006, 01:15 PM   #3
 
xsorifc28's Avatar
 
Join Date: Jun 2006
Location: Removable Disk (G:)
Posts: 1,698
Trader Feedback: 0
Default

hopefully, im getting bored.
__________________
[CENTER]
[_ıииeя_тυяκ*_]
Turkish Power >_<
[/CENTER]
xsorifc28 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-23-2006, 01:43 PM   #4

is not posting very often
 
Glynnder's Avatar
 
Join Date: Feb 2006
Location: omnipresent
Posts: 5,161
Trader Feedback: 0
Default

looks good, i like how its pretty easy to use.
__________________
Quote:
Originally Posted by Abe
Either way, if you don't know, don't guess. Stick to answering questions about stuff you're qualified to answer, like Pokemon questions or something along those lines.
http://forums.qj.net/501501-post26.html
Glynnder is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-23-2006, 02:20 PM   #5

Developer
 
uber0ne's Avatar
 
Join Date: Jun 2006
Location: Lakeland, FL, USA
Posts: 845
Trader Feedback: 0
Default

Quote:
Originally Posted by xsorifc28
hopefully, im getting bored.
Same here.

Yea this is great that us devs will have our choice.
__________________

uber0ne is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-23-2006, 03:51 PM   #6
 
Join Date: Jul 2006
Posts: 6
Trader Feedback: 0
Default

this looks great someone should make Pokemon 3D or sumthin but i cant participate . I have a TA-82 and cant downgrade and i dont have GTA
KingdomKing is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-23-2006, 03:56 PM   #7
 
Matt123's Avatar
 
Join Date: Sep 2005
Location: Kansas
Posts: 624
Trader Feedback: 0
Default

Quote:
Originally Posted by KingdomKing
this looks great someone should make Pokemon 3D or sumthin but i cant participate . I have a TA-82 and cant downgrade and i dont have GTA
Lol wow, it sucks to have that. I would trade that with someone >.>
__________________
[CENTER]- 3.40 OE PSP Thanks to DAX :]
- DS + R4DS Cart
- 1.90 PS3 + YDL
[B]ilykitty<3[/B][/CENTER]
Matt123 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-23-2006, 07:21 PM   #8
 
Join Date: Jul 2006
Posts: 6
Trader Feedback: 0
Default

I wish all my freinds that have one either upgraded or wont trade because homebrew is to precious for them. I miss Snes9x and Seiken Densetsu 3 (best rpg for snes)
KingdomKing is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-24-2006, 09:54 AM   #9
 
steve_723's Avatar
 
Join Date: Jun 2006
Posts: 4
Trader Feedback: 0
Default

great new 3D engine
steve_723 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-24-2006, 10:04 AM   #10

My name is Mud
 
Join Date: Dec 2005
Posts: 1,538
Trader Feedback: 0
Default

Quote:
Originally Posted by KingdomKing
this looks great someone should make Pokemon 3D or sumthin but i cant participate . I have a TA-82 and cant downgrade and i dont have GTA
Haha, noob.

But yes, this seems like an OK engine, dont know if it compairs to LTE but its open source...
__________________

hàrléyg² is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-24-2006, 10:15 AM   #11
 
ZereoX's Avatar
 
Join Date: Jan 2006
Posts: 871
Trader Feedback: 0
Default

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.
ZereoX is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-24-2006, 11:34 PM   #12

...in a dream...
 
SG57's Avatar
 
Join Date: Jul 2005
Posts: 4,957
Trader Feedback: 0
Default

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?
__________________

Last edited by NeilR-X; 07-25-2006 at 02:32 AM..
SG57 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-25-2006, 01:48 AM   #13
 
chaoskingz's Avatar
 
Join Date: Feb 2006
Location: Cairo, Egypt
Posts: 1,532
Trader Feedback: 0
Default

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]
chaoskingz is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-25-2006, 01:50 AM   #14

My name is Mud
 
Join Date: Dec 2005
Posts: 1,538
Trader Feedback: 0
Default

Cool down?
Im just finishing it...
I dont actually know when SG57 was actually brought into it, he just likes arguements with me.
__________________

hàrléyg² is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-25-2006, 02:37 AM   #15
 
NeilR's Avatar
 
Join Date: Jul 2005
Posts: 7,010
Trader Feedback: 0
Default

For some reason, all my past warnings about keeping the squabbling off the forums have had no effect.. if banning is all that works then so be it.
NeilR is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
devs , engine , homebrew , raptor

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 05:27 PM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us