MyQJ | QJ.NET | Apple | Mobile | Photography | Science | MMORPG | Nintendo DS | Wii | World of Warcraft | PlayStation 3 | PSP | Tabula Rasa | XBOX 360 | Gadgets | PC Gaming | DL.QJ | Trade Games
Home :: XML Feed :: Files :: Forums :: Bookmark site :: Terms of use :: Privacy policy :: Submit News :: Advertise :: Contact us


Go Back   QJ.NET Forums > All QJ Forums > Gaming Forums > QJ.NET Sony PSP Forums > PSP Development, Hacks, and Homebrew > PSP Development Forum
Register FAQ+ Become Premium Members List Mark Forums Read Log Out


Welcome to the QJ.NET Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
Thread Tools
Hey Guest!
Not Registered? Join today!

Registration allows you too:

Post on our Forums.

Take part in games and registered user benefits!

Get rid of this ad....
Old 11-10-2007, 01:27 PM   #1
Ghoti
Neophyte


Join Date: Oct 2007
Location: Netherlands
Posts: 39
Points: 437.75
Donate
Default Three new tutorials added (3D c++)

Hi folks,

I have added three new tutorials.

Texture tutorial: This is the first of a series of tutorials on texturing, this will simply explain some basic and function and let you use a texture for a triangle. No optimisations yet in this tutorial.

FPS counter: I will show you how ot create a frame per second counter. Updates every second

Screenfading tutorial: This tutorial explains how screenfading can be done. It is really easy

Hope you all like the updates

http://www.ghoti.nl/PSPtutorials.php

greets ghoti
__________________
My products:

Boxy II :http://www.ghoti.nl/boxyii.php
Elementals: http://www.ghoti.nl/Elementals.php
PSP tutorials: http://www.ghoti.nl/PSPtutorials.php
Ghoti is offline   Quote this post in a PM   Reply With Quote Text-Multi-Quote with this Post
Old 11-10-2007, 01:30 PM   #2
Bubbletune
Existance
 
Bubbletune's Avatar


Join Date: Apr 2007
Location: Netherlands
Posts: 1,250
Points: 555.80
Donate
   

Default

As always, nice work
Bedankt!
Bubbletune is offline   Quote this post in a PM   Reply With Quote Text-Multi-Quote with this Post
Old 11-10-2007, 04:12 PM   #3
Gusjdt
Journeyman


Join Date: Sep 2007
Posts: 105
Points: 1,094.94
Donate
Default

This is great! Thanks for these tuts. Bookmarking now..
Gusjdt is offline   Quote this post in a PM   Reply With Quote Text-Multi-Quote with this Post
Old 11-10-2007, 06:01 PM   #4
Xfacter
Developer
 
Xfacter's Avatar


Join Date: May 2006
Posts: 100
Points: 336.85
Donate
Default

Quote:
char buffer[256];
sprintf(buffer, "texture.png");
texture = loadImage(buffer);

Extremely unnecessary. Please remove this to prevent confusion.
__________________
Spoiler for Memorable Quotes:
Quote:
Originally Posted by Durka Durka Mahn
I for one aren't upgrasing
Quote:
Originally Posted by HeaD_ShOt
is iare teh grafix done like wedge racer?
Quote:
Originally Posted by InsertWittyName
That's like saying because you wank with your right hand all the time, and one day you wank with your left, that you invented left handed wanking..
Quote:
Originally Posted by MaTiAz
I like to practice coding by making utterly useless stuff too :)
Quote:
Originally Posted by William Murderface
I'd rather die than go to heaven.

My Website
Xfacter is offline   Quote this post in a PM   Reply With Quote Text-Multi-Quote with this Post
Old 11-11-2007, 06:19 AM   #5
Ghoti
Neophyte


Join Date: Oct 2007
Location: Netherlands
Posts: 39
Points: 437.75
Donate
Default

Quote:
Originally Posted by Xfacter
Extremely unnecessary. Please remove this to prevent confusion.
What exactly do you mean? not using the sprintf but just passing the "texture.png" directly to the function? because that does not work when I try that :s

Quote:
Originally Posted by JumpR
As always, nice work
Bedankt!
Thanks!
Jij ook bedankt he altijd leuk reactie te krijgen van Nederlanders

Quote:
Originally Posted by Gusjdt
This is great! Thanks for these tuts. Bookmarking now..
No problems I like to do it and it also is useful for me because sometimes I use things that are not so great and people correct me like Xfacter and so I learn also
__________________
My products:

Boxy II :http://www.ghoti.nl/boxyii.php
Elementals: http://www.ghoti.nl/Elementals.php
PSP tutorials: http://www.ghoti.nl/PSPtutorials.php
Ghoti is offline   Quote this post in a PM   Reply With Quote Text-Multi-Quote with this Post
Old 11-11-2007, 06:34 AM   #6
yaustar
Developer
 
yaustar's Avatar


Join Date: Jun 2006
Location: UK
Posts: 1,997
Points: 772.04
Donate
Default

Code:
texture = loadImage("texture.png");
Works.
__________________
[Blog] [Portfolio]
yaustar is offline   Quote this post in a PM   Reply With Quote Text-Multi-Quote with this Post
Old 11-11-2007, 06:55 AM   #7
eldiablov
Sage


Join Date: Oct 2006
Location: East London, England
Posts: 3,907
Points: 1,274.52
Donate
   

Default

Yaustar what is the purpose of the buffer other than to get on my nerves ? I remember yeldarb doing it for images too.
__________________
6969745167805127 << 15
eldiablov is offline   Quote this post in a PM   Reply With Quote Text-Multi-Quote with this Post
Old 11-11-2007, 06:56 AM   #8
Ghoti
Neophyte


Join Date: Oct 2007
Location: Netherlands
Posts: 39
Points: 437.75
Donate
Default

Quote:
Originally Posted by yaustar
Code:
texture = loadImage("texture.png");
Works.

Yes indeed thanks for that, in a simple sample it did not work but I know now why and it works so indeed you guys were right will change it in the tuts
__________________
My products:

Boxy II :http://www.ghoti.nl/boxyii.php
Elementals: http://www.ghoti.nl/Elementals.php
PSP tutorials: http://www.ghoti.nl/PSPtutorials.php
Ghoti is offline   Quote this post in a PM   Reply With Quote Text-Multi-Quote with this Post
Old 11-11-2007, 06:57 AM   #9
eldiablov
Sage


Join Date: Oct 2006
Location: East London, England
Posts: 3,907
Points: 1,274.52
Donate
   

Default

These tuorials made me look at c++ differently. Its looks cleaner than C. Is there a tut on loading models and blitting them and animating them ?
__________________
6969745167805127 << 15
eldiablov is offline   Quote this post in a PM   Reply With Quote Text-Multi-Quote with this Post
Old 11-11-2007, 07:04 AM   #10
Ghoti
Neophyte


Join Date: Oct 2007
Location: Netherlands
Posts: 39
Points: 437.75
Donate
Default

Quote:
Originally Posted by eldiablov
These tuorials made me look at c++ differently. Its looks cleaner than C. Is there a tut on loading models and blitting them and animating them ?
Well yes I think that c++ helps with creating code which is better to read. I do not know if everyone agrees but I think with the help of classes you can order your source a lot better. I like this way of programming in any case

Well I am busy with creating a tutorial at the moment which let you load up triangulated .obj files to let the readers get a feel on how to write code that loads up models but I will not create a super perfect model loader which let you load up everything you want (simply because I can't create a super perfect model loader ) but I think it will be a very handy tutorial for you guys when you want to load 3d models.
__________________
My products:

Boxy II :http://www.ghoti.nl/boxyii.php
Elementals: http://www.ghoti.nl/Elementals.php
PSP tutorials: http://www.ghoti.nl/PSPtutorials.php
Ghoti is offline   Quote this post in a PM   Reply With Quote Text-Multi-Quote with this Post