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!

3D Programming knowledge needed.

This is a discussion on 3D Programming knowledge needed. within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; Hi QJ, been busy with exams and stuff lately but lets get right to the point. I'm trying/going to re-make ...

Reply
 
LinkBack Thread Tools
Old 05-28-2007, 02:48 PM   #1
11th Squad Captain
 
c5cha7's Avatar
 
Join Date: Jun 2005
Location: You are here -----> 名前: アダム | 飲むコー&#1
Posts: 2,562
Trader Feedback: 0
Default 3D Programming knowledge needed.

Hi QJ, been busy with exams and stuff lately
but lets get right to the point.
I'm trying/going to re-make an old game of mine
that didn't actually pass completion (*cough* chao *cough*).
Now i have many memory issues with my old script
and wanted to start a new so i'm planning on
creating a 3D game but basically i'm a little stuck...

I was wondering if i start coding this game in Lua
could i use 3DMax or Maya files with it?
Or would i have to turn to an alternative 3D Program
all together?

I could however code the game in C#, but i don't feel
like installing cygwin all over again on my new laptop
(i know, but the laptop is really for college)

Any help would be appreciated.
I have tried searching though it won't return
any matches? (unless i search under topic title only, though there's not a lot there)
__________________
FAVORITE GAME! - BEER & ANIME! - SO EXICTING!

開発者, 携帯用プログラマー 日本サポータおよび恋人 本名のアダムの鍛冶屋
Currently Working On: - Flashmod V2.50 - Flashmod V2.60
Currently Drinking: Coffee! - 私はコーヒーを飲む
Chao Garden: DEMO v0.6
Chao Garden V0.5b Review!
c5cha7 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-28-2007, 02:58 PM   #2

Developer
 
yaustar's Avatar
 
Join Date: Jun 2006
Location: UK
Posts: 2,317
Trader Feedback: 0
Default

Quote:
Originally Posted by c5cha7
I was wondering if i start coding this game in Lua
could i use 3DMax or Maya files with it?
Yes.
Quote:
Or would i have to turn to an alternative 3D Program
all together?
No.

Quote:
I could however code the game in C#
You can't use C# for the PSP (yet).
yaustar is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-28-2007, 03:04 PM   #3
11th Squad Captain
 
c5cha7's Avatar
 
Join Date: Jun 2005
Location: You are here -----> 名前: アダム | 飲むコー&#1
Posts: 2,562
Trader Feedback: 0
Default

Quote:
Originally Posted by yaustar
Yes.

No.


You can't use C# for the PSP (yet).
Thanks, its a simple yet effective answer
and i appreciate your help.

Also i see people quoting it as "C#"
though some could call it C++ so i got a little
bit confused and miss quoted it.

Again your help is much appreciated,
i'm sure this thread could influence others to jump
ahead on 3D Programming.
__________________
FAVORITE GAME! - BEER & ANIME! - SO EXICTING!

開発者, 携帯用プログラマー 日本サポータおよび恋人 本名のアダムの鍛冶屋
Currently Working On: - Flashmod V2.50 - Flashmod V2.60
Currently Drinking: Coffee! - 私はコーヒーを飲む
Chao Garden: DEMO v0.6
Chao Garden V0.5b Review!
c5cha7 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-28-2007, 03:22 PM   #4

total-Z
 
youresam's Avatar
 
Join Date: Jul 2005
Location: texas
Posts: 2,803
Trader Feedback: 0
Default

C# is a programming language created by Microsoft that uses the .NET framework, C++ is the next version of the C programming language that's been around for decades.

And nehe.gamedev.net has good 3D tutorials.
__________________
牧来栠摩琠敨映汩獥
PSN: youresam
From Earth the Frozen Ipaqs shall rise and be silenced and all will live free.
--Mike Hollingsworth
youresam is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-28-2007, 03:27 PM   #5
11th Squad Captain
 
c5cha7's Avatar
 
Join Date: Jun 2005
Location: You are here -----> 名前: アダム | 飲むコー&#1
Posts: 2,562
Trader Feedback: 0
Default

Quote:
Originally Posted by youresam
C# is a programming language created by Microsoft that uses the .NET framework, C++ is the next version of the C programming language that's been around for decades.

And nehe.gamedev.net has good 3D tutorials.
If C++ is worth the time and effort and might
re-install cygwin. I'll favorite the site,
at the moment i'm just looking for a fast and easy solution.
(as i only have 4/6 weeks to code some of this)

Thanks for your help, i'll be sure to post my
results once i get to grips in which form of
programming i'm going to use.
__________________
FAVORITE GAME! - BEER & ANIME! - SO EXICTING!

開発者, 携帯用プログラマー 日本サポータおよび恋人 本名のアダムの鍛冶屋
Currently Working On: - Flashmod V2.50 - Flashmod V2.60
Currently Drinking: Coffee! - 私はコーヒーを飲む
Chao Garden: DEMO v0.6
Chao Garden V0.5b Review!
c5cha7 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-28-2007, 03:56 PM   #6

Developer
 
yaustar's Avatar
 
Join Date: Jun 2006
Location: UK
Posts: 2,317
Trader Feedback: 0
Default

Quote:
Originally Posted by c5cha7
at the moment i'm just looking for a fast and easy solution.
(as i only have 4/6 weeks to code some of this)
If you are looking for the fastest solution for a 3D game then Lua isn't the answer. Although the language is very quick to learn, the 3D part of Luaplayer doesn't readily support 3D file formats or lend itself to beginners. When I said "Yes" it is possible for Lua to read the formats, I didn't mean it was easy, just possible.

In that short a time frame, I would go C or C++ with the LTE 3D engine. Although if you don't know the C or C++ language very well or at all, then it be REALLY difficult to get anything substantial in that time frame.
yaustar is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-28-2007, 06:21 PM   #7

sceKernelExitGame();
 
Bronx's Avatar
 
Join Date: Jan 2006
Location: New York
Posts: 3,125
Trader Feedback: 0
Default

Learning a 3D API such as OpenGL or the GU, and C++ in 4-6 weeks is pretty much impossible. Like Yaustar said, try using C++ with the LTE engine.
Bronx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-28-2007, 09:34 PM   #8
Enter Custom Title
 
waywardson's Avatar
 
Join Date: Mar 2007
Posts: 547
Trader Feedback: 0
Default

3d in lua sounds fun...anyone have any links to some tutorials?

Last edited by waywardson; 05-28-2007 at 09:48 PM..
waywardson is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-28-2007, 10:12 PM   #9

total-Z
 
youresam's Avatar
 
Join Date: Jul 2005
Location: texas
Posts: 2,803
Trader Feedback: 0
Default

Quote:
Originally Posted by waywardson
3d in lua sounds fun...anyone have any links to some tutorials?
nehe.gamedev.net
-.-
__________________
牧来栠摩琠敨映汩獥
PSN: youresam
From Earth the Frozen Ipaqs shall rise and be silenced and all will live free.
--Mike Hollingsworth
youresam is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-28-2007, 10:36 PM   #10
Enter Custom Title
 
waywardson's Avatar
 
Join Date: Mar 2007
Posts: 547
Trader Feedback: 0
Default

cool thanks
waywardson is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-29-2007, 07:25 AM   #11
 
Join Date: Dec 2006
Posts: 75
Trader Feedback: 0
Default

Quote:
Originally Posted by youresam
C# is a programming language created by Microsoft that uses the .NET framework
are you on drugs, since when has C# used .net?! thats why there are books on both C#, C++, C#.net, C.net, C++.net,VB.net etc... .NET is a windows only accesible library just like DirectX... you can even use it with JavaScript and compile Javascript applications that look and feel like they were programmed in C... C# was indeed made by microsoft, as an attempt to revolutionize the C language and make it even more efficient than C++
They names as they are seen by me:
C
C+1
C-Sharp
Anyway, it is theoreticaly possible to compile C# for the PSP, you just need teh_Toolchain for C#
Quote:
C++ is the next version of the C programming language that's been around for decades.
er... right... kinda.. its the second version (but still the next and best IMO)
Quote:
And nehe.gamedev.net has good 3D tutorials.
Thank you, I need these too XD
zero-x is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-29-2007, 08:43 AM   #12

total-Z
 
youresam's Avatar
 
Join Date: Jul 2005
Location: texas
Posts: 2,803
Trader Feedback: 0
Default

Quote:
Originally Posted by zero-x
are you on drugs, since when has C# used .net?! thats why there are books on both C#, C++, C#.net, C.net, C++.net,VB.net etc... .NET is a windows only accesible library just like DirectX... you can even use it with JavaScript and compile Javascript applications that look and feel like they were programmed in C... C# was indeed made by microsoft, as an attempt to revolutionize the C language and make it even more efficient than C++
They names as they are seen by me:
C
C+1
C-Sharp
Anyway, it is theoreticaly possible to compile C# for the PSP, you just need teh_Toolchain for C#
I didn't know that.. I just have Visual Studio 2003, which the C# console programs require .NET framework to be installed, all I know.
Quote:
Originally Posted by zero-x
er... right... kinda.. its the second version (but still the next and best IMO)
kinda?
__________________
牧来栠摩琠敨映汩獥
PSN: youresam
From Earth the Frozen Ipaqs shall rise and be silenced and all will live free.
--Mike Hollingsworth
youresam is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-29-2007, 10:25 AM   #13
MiG
 
MiG's Avatar
 
Join Date: Jun 2006
Location: UK
Posts: 499
Trader Feedback: 0
Default

Quote:
Originally Posted by zero-x
are you on drugs, since when has C# used .net?! thats why there are books on both C#, C++, C#.net, C.net, C++.net,VB.net etc... .NET is a windows only accesible library just like DirectX... you can even use it with JavaScript and compile Javascript applications that look and feel like they were programmed in C... C# was indeed made by microsoft, as an attempt to revolutionize the C language and make it even more efficient than C++
They names as they are seen by me:
C
C+1
C-Sharp
Anyway, it is theoreticaly possible to compile C# for the PSP, you just need teh_Toolchain for C#

er... right... kinda.. its the second version (but still the next and best IMO)

Thank you, I need these too XD
I'm gonna be crazy, and say that don't C# Apps need the .Net framework to run ? i thought C# was basically C and .Net, as there is a lot of nice things to play with in C#, most from .Net.
MiG is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-29-2007, 11:05 AM   #14


Developer
 
Join Date: Jun 2006
Posts: 144
Trader Feedback: 0
Default

Quote:
Originally Posted by MiG
I'm gonna be crazy, and say that don't C# Apps need the .Net framework to run ? i thought C# was basically C and .Net, as there is a lot of nice things to play with in C#, most from .Net.
C = C.
C++ = C & OOP
C# = Microsoft Java
Punkt. These three are not "next versions" of each other. They're different languages, with different philosophies.
__________________
Adrahil - Software architect and specialist in Reverse Engineering.
Spoiler for Guilt of a Dev:
17:17 < InsertWittyName> Can't pin user error on a dev ;)
17:18 < InsertWittyName> Lesson learnt on both sides I would say.
17:18 < InsertWittyName> You learnt to treat the end-user as a retarded fish.
17:18 < InsertWittyName> They learnt to read readme's ;)

Spoiler for me:
Quote:
17:12 <+dot_blank> are you the long haired pimp ;)
adrahil is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-29-2007, 11:12 AM   #15
MiG
 
MiG's Avatar
 
Join Date: Jun 2006
Location: UK
Posts: 499
Trader Feedback: 0
Default

Quote:
Originally Posted by adrahil
C = C.
C++ = C & OOP
C# = Microsoft Java
Punkt. These three are not "next versions" of each other. They're different languages, with different philosophies.
I'm Pretty sure that any C# App needs the .Net framework to run...

From the Microsoft Site:

C# is a simple, type-safe, object oriented, general-purpose programming language. Visual C# provides code-focused developers with powerful tools and language support to build rich, connected web and client applications on the .NET Framework.

As you said... "Punkt".
MiG is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-29-2007, 11:38 AM   #16

Developer
 
Raphael's Avatar
 
Join Date: Jan 2006
Location: Germany
Posts: 919
Trader Feedback: 0
Default

Nope. Microsofts implementation of C# uses the .NET Framework a lot, but the standardized C# doesn't depend on .NET. Also, there are implementations of .NET similar libraries that can be used with other C# compilers, namely DotGNU and Mono.
__________________
Raphs board rules #31: Excessive use of punctuation is either a sign of a lesser ego or a small mind. Avoid it if you don't want to look like a total moron.
Raphs board rules #17: When you need to ask whether you are capable of doing something, you are not.
Raphs board rules #2: Exploits aren't found by changing version numbers, blindly merging data into a file or turning your PSP upside down.
Raphs board rules #1: If you have no clue how exploits work, don't come up with ideas about them.
Raphael is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-29-2007, 01:01 PM   #17

sceKernelExitGame();
 
Bronx's Avatar
 
Join Date: Jan 2006
Location: New York
Posts: 3,125
Trader Feedback: 0
Default

To go with what raphael said, .NET can be used with a lot of languages as well (Javascript, VB, C++, Boo, Python, ect..). C# is pretty much the language that pioneered .NET though.
Bronx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-29-2007, 01:41 PM   #18

total-Z
 
youresam's Avatar
 
Join Date: Jul 2005
Location: texas
Posts: 2,803
Trader Feedback: 0
Default

Quote:
Originally Posted by adrahil
C = C.
C++ = C & OOP
C# = Microsoft Java
Punkt. These three are not "next versions" of each other. They're different languages, with different philosophies.
I disagree, I believe C++ is the next version of C.
Quote:
Originally Posted by Wikipedia
Earlier, during the research period, the developing language had been referred to as "new C", then "C with Classes". In computer science C++ is still referred to as a superstructure of C. The final name stems from C's "++" operator
__________________
牧来栠摩琠敨映汩獥
PSN: youresam
From Earth the Frozen Ipaqs shall rise and be silenced and all will live free.
--Mike Hollingsworth
youresam is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-29-2007, 05:57 PM   #19

sceKernelExitGame();
 
Bronx's Avatar
 
Join Date: Jan 2006
Location: New York
Posts: 3,125
Trader Feedback: 0
Default

I can't wait for C++0x
Bronx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-29-2007, 06:09 PM   #20

It's good to be free...
 
Archaemic's Avatar
 
Join Date: Feb 2007
Posts: 2,440
Trader Feedback: 0
Default

The "next version" of C is C99. It's what's generally known as C today. Last decade, C was C89, but C99 has a lot of improvements. C++ came out a long time before C99. And yeah, C++0x is the next version of C++.
__________________
pəʇuɒɹɓ ɹoɟ ɓuɪɥʇou əʞɒʇ
Archaemic is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-29-2007, 06:30 PM   #21
 
pspballer07's Avatar
 
Join Date: Feb 2007
Posts: 315
Trader Feedback: 0
Default

C++, C, and C# all use the same sytax so they are in the same group or family when it comes to programming languages.
pspballer07 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-29-2007, 06:51 PM   #22

It's good to be free...
 
Archaemic's Avatar
 
Join Date: Feb 2007
Posts: 2,440
Trader Feedback: 0
Default

No, they use different syntaxes, especially C#. Yes, they're all C-style syntaxes, but for that matter, so are Java, Java-/Action-/ECMAScript, PHP, and, to an extent, Perl.
__________________
pəʇuɒɹɓ ɹoɟ ɓuɪɥʇou əʞɒʇ
Archaemic is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-30-2007, 01:40 AM   #23

Developer
 
yaustar's Avatar
 
Join Date: Jun 2006
Location: UK
Posts: 2,317
Trader Feedback: 0
Default

Quote:
Originally Posted by pspballer07
C++, C, and C# all use the same sytax so they are in the same group or family when it comes to programming languages.
All 3 have similar but different syntax. For example:
C++:
Code:
struct Blah
{
    int foo;
};

// Create an instance
Blah aInstance;
C:
Code:
struct Blah
{
    int foo;
};

// Create an instance
struct Blah aInstance;
This is why C code in C++ has to use or be wrapped:
Code:
extern "C"
In C#, anything that is not a base type is by default, passed by reference rather then by value. In C++, you have to explicitly declare that you are passing by reference and all code must be in a class.

I consider them to be 3 distinct different programming families each with their own use.
yaustar is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-30-2007, 03:31 PM   #24
11th Squad Captain
 
c5cha7's Avatar
 
Join Date: Jun 2005
Location: You are here -----> 名前: アダム | 飲むコー&#1
Posts: 2,562
Trader Feedback: 0
Default

Uh.. *cough* What the hell guys!? *cough*.
2 Page's worth of C#/C++ Babble.

You kicked my thread in the nuts while
i was sleeping. (nice one..)

P.S
Okay got my Maya Models ready, i'm
going to try and export them to lua now.
Thanks for the help.
__________________
FAVORITE GAME! - BEER & ANIME! - SO EXICTING!

開発者, 携帯用プログラマー 日本サポータおよび恋人 本名のアダムの鍛冶屋
Currently Working On: - Flashmod V2.50 - Flashmod V2.60
Currently Drinking: Coffee! - 私はコーヒーを飲む
Chao Garden: DEMO v0.6
Chao Garden V0.5b Review!
c5cha7 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-30-2007, 04:11 PM   #25
 
pspballer07's Avatar
 
Join Date: Feb 2007
Posts: 315
Trader Feedback: 0
Default

They all have the same grammar and puctuation. That's what I mean't
pspballer07 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
knowledge , needed , programming

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 10:49 PM.



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