Studentforum LTH

Studier => Kurser => Topic started by: MikeD on 2014-08-22 11:04:11

Title: EDA221 - Introduction to 3D 2014 HT1
Post by: MikeD on 2014-08-22 11:04:11
Welcome to the Computer graphics: Introduction to 3D discussion forum!  :)

Here you may ask questions about the labs or other issues. Teachers/assistants will be present here, but students are highly encouraged to participate.

Course-related announcements might pop up here as well, so make sure to stop by on a regular basis.

Editions from previous years (lots of useful stuff):
2013 forum: http://forum.student.lth.se/index.php/topic,1105.0.html
2012 forum: http://forum.student.lth.se/index.php/topic,1057.0.html
2011 forum: http://forum.student.lth.se/index.php/topic,999.0.html
2010 forum: http://forum.student.lth.se/index.php/topic,929.0.html
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: bondi on 2014-09-04 14:48:00
Någon som behöver en partner för uppgifterna? :)

Anyone needing a partner for the assignments? :)
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: Saša on 2014-09-04 15:39:39
Behöver du fortfarande en partner? I så fall samarbetar jag gärna!
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: bondi on 2014-09-04 16:11:32
Behöver du fortfarande en partner? I så fall samarbetar jag gärna!

Det gör jag, så då kör vi tillsammans! :D
Lägg till mig på facebook, heter Pontus Bondi Eriksson!
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: MikeD on 2014-09-05 10:14:50
You can sign up for the lab sessions here :
https://sam.cs.lth.se/LabsSelectSession?occasionId=341
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: MikeD on 2014-09-05 13:48:19
If you are getting the RenderChimp code to work on OSX, check out Jacob's first reply on the 2013 forum.
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: scr on 2014-09-06 10:55:22
Hej,
försöker få RenderChimp att fungera på OS X 10.9.4. Har installerat SDL och SDLimage efter vad som stod i forumet för 2013.

Jag får dock detta felmeddelandet "No architectures to compile for (ARCHS=x86_64, VALID_ARCHS=i386)."

Mina build settings i architecture är:

Additional SDKs:
Architectures: Standard Architectures (64-bit Intel) (x86_64)
Base SDK: Latest OS X (OS X 10.9)
Build Active Architecture Only: No
Supported Platforms: OS X
Valid Architectures: i386

Har googlat utan framgång så om någon vet vad som är fel får ni gärna hjälpa till!

Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: MikeD on 2014-09-06 12:35:40
Try setting architecture to 32-bit Intel (i386)
RC still has 32bit dependencies.

Hej,
försöker få RenderChimp att fungera på OS X 10.9.4. Har installerat SDL och SDLimage efter vad som stod i forumet för 2013.

Jag får dock detta felmeddelandet "No architectures to compile for (ARCHS=x86_64, VALID_ARCHS=i386)."

Mina build settings i architecture är:

Additional SDKs:
Architectures: Standard Architectures (64-bit Intel) (x86_64)
Base SDK: Latest OS X (OS X 10.9)
Build Active Architecture Only: No
Supported Platforms: OS X
Valid Architectures: i386

Har googlat utan framgång så om någon vet vad som är fel får ni gärna hjälpa till!
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: scr on 2014-09-06 19:27:16
I changed that but got some new problems instead...
Here is a print screen of the error messages: (http://31.media.tumblr.com/cb828440db65423bb85cb6e6a80b8c3f/tumblr_nbhpokKVqW1tlt9teo1_1280.png)

Try setting architecture to 32-bit Intel (i386)
RC still has 32bit dependencies.

Hej,
försöker få RenderChimp att fungera på OS X 10.9.4. Har installerat SDL och SDLimage efter vad som stod i forumet för 2013.

Jag får dock detta felmeddelandet "No architectures to compile for (ARCHS=x86_64, VALID_ARCHS=i386)."

Mina build settings i architecture är:

Additional SDKs:
Architectures: Standard Architectures (64-bit Intel) (x86_64)
Base SDK: Latest OS X (OS X 10.9)
Build Active Architecture Only: No
Supported Platforms: OS X
Valid Architectures: i386

Har googlat utan framgång så om någon vet vad som är fel får ni gärna hjälpa till!
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: Kenan on 2014-09-07 20:55:37
Hi!

Anyone needing a partner?

Någon som behöver en partner?
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: MikeD on 2014-09-08 10:45:41

For OSX 10.9, you need to make the following changes.

In GLee.h replace :
           typedef ptrdiff_t GLintptrARB;
      typedef ptrdiff_t GLsizeiptrARB;

with :
           typedef long GLintptrARB;
      typedef long GLsizeiptrARB;

and replace :
   typedef int GLhandleARB;
with :
        typedef  void* GLhandleARB;

and in RendererGL.cpp add a cast to (GLint) for GL_VERTEX_SHADER and GL_FRAGMENT_SHADER
  id = (GLint) glCreateShaderObjectARB(GL_VERTEX_SHADER);

 id = (GLint) glCreateShaderObjectARB(GL_FRAGMENT_SHADER);


I changed that but got some new problems instead...
Here is a print screen of the error messages: (http://31.media.tumblr.com/cb828440db65423bb85cb6e6a80b8c3f/tumblr_nbhpokKVqW1tlt9teo1_1280.png)

Try setting architecture to 32-bit Intel (i386)
RC still has 32bit dependencies.

Hej,
försöker få RenderChimp att fungera på OS X 10.9.4. Har installerat SDL och SDLimage efter vad som stod i forumet för 2013.

Jag får dock detta felmeddelandet "No architectures to compile for (ARCHS=x86_64, VALID_ARCHS=i386)."

Mina build settings i architecture är:

Additional SDKs:
Architectures: Standard Architectures (64-bit Intel) (x86_64)
Base SDK: Latest OS X (OS X 10.9)
Build Active Architecture Only: No
Supported Platforms: OS X
Valid Architectures: i386

Har googlat utan framgång så om någon vet vad som är fel får ni gärna hjälpa till!
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: dscheibe on 2014-09-08 13:03:33
Hello.  I have downloaded SDL.frameworks version 1.2.15 and SDL_image.frameworks version 1.2.12 for mac OSX and put them both into my /Library/Frameworks folder.  I have also updated the changes mentioned above regarding Glee.h and GLint casting.  However now I am getting an error in PlatformOSX.cpp of "SLD_image/SDL_image.h" file not found.  I've tried to change this to simply SDL_image.h but it cannot find that file and I have tried renaming the SDL_image.h file in the SDL_image.frameworks but that doesn't work either.  Anyone else running MAC OSX 10.9.1 and Xcode 5.1.1 having the same problem or know how to fix it? thank you.
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: scr on 2014-09-08 14:14:43
Seems like it works for me now so maybe this will solve the problem.

In the bar to the left with the file system, navigate to frameworks->linked frameworks. At first my "SDL_image.frameworks" was marked red and the path/location was wrong. So if this is the case then change the path/location to "/Library/Frameworks/SDL_image.framework". This can be done in the bar to the right when you mark "SDL_image.frameworks".

Hello.  I have downloaded SDL.frameworks version 1.2.15 and SDL_image.frameworks version 1.2.12 for mac OSX and put them both into my /Library/Frameworks folder.  I have also updated the changes mentioned above regarding Glee.h and GLint casting.  However now I am getting an error in PlatformOSX.cpp of "SLD_image/SDL_image.h" file not found.  I've tried to change this to simply SDL_image.h but it cannot find that file and I have tried renaming the SDL_image.h file in the SDL_image.frameworks but that doesn't work either.  Anyone else running MAC OSX 10.9.1 and Xcode 5.1.1 having the same problem or know how to fix it? thank you.
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: dscheibe on 2014-09-08 14:19:12
It shows it as a valid path. It should have Linked Frameworks->SDL_image.frameworks->Frameworks and Headers-> (in Headers) SDL_image.h and only this header.  This is what mine shows, is that correct?

Seems like it works for me now so maybe this will solve the problem.

In the bar to the left with the file system, navigate to frameworks->linked frameworks. At first my "SDL_image.frameworks" was marked red and the path/location was wrong. So if this is the case then change the path/location to "/Library/Frameworks/SDL_image.framework". This can be done in the bar to the right when you mark "SDL_image.frameworks".

Hello.  I have downloaded SDL.frameworks version 1.2.15 and SDL_image.frameworks version 1.2.12 for mac OSX and put them both into my /Library/Frameworks folder.  I have also updated the changes mentioned above regarding Glee.h and GLint casting.  However now I am getting an error in PlatformOSX.cpp of "SLD_image/SDL_image.h" file not found.  I've tried to change this to simply SDL_image.h but it cannot find that file and I have tried renaming the SDL_image.h file in the SDL_image.frameworks but that doesn't work either.  Anyone else running MAC OSX 10.9.1 and Xcode 5.1.1 having the same problem or know how to fix it? thank you.

I also need a partner if anyone else does. I'm a student at UCLA in California and I don't speak any Swedish.  My name is David Scheibe.
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: Kenan on 2014-09-08 19:44:08
Hi!
I'm looking for a partner as well and also operate on OS X. Got mine to work after reading up in the forum, I could help you tomorrow after the lecture if don't get it to start. Because I had the same problem. If you are up for partnership my name is Kenan Sulejmanovic. I'm student of LTH  :D
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: MikeD on 2014-09-09 09:03:11
The Tuesday 15-17 lab will be in Uranus every week now.
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: MikeD on 2014-09-10 11:41:51
Here's a link to the Graphics Pipeline Demo I showed in class :
http://www.realtimerendering.com/udacity/?load=demo/unit7-view-pipeline.js
You read a little about it in Eric Haine's blog on real time rendering :
http://www.realtimerendering.com/blog/graphics-pipeline-demo/
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: sespinas on 2014-09-10 20:41:40
Hi,
i've download Visual Studio 2010 on my computer for Windows XP,
i can open it and see the project, but when i try to compile it by clicking on the
green button, the following error message appears, and i can't see the render:

"'RenderChimp.exe': Loaded 'D:\Sandy\ComputerGraphics\EDA221_RenderChimp_13\win32\bin\RenderChimp.exe', Symbols loaded.
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', Cannot find or open the PDB file
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', Cannot find or open the PDB file
'RenderChimp.exe': Loaded 'D:\Sandy\ComputerGraphics\EDA221_RenderChimp_13\win32\bin\SDL.dll', Binary was not built with debug information.
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll', Cannot find or open the PDB file
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll', Cannot find or open the PDB file
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\secur32.dll', Cannot find or open the PDB file
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll', Cannot find or open the PDB file
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\user32.dll', Cannot find or open the PDB file
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll', Cannot find or open the PDB file
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\winmm.dll', Cannot find or open the PDB file
'RenderChimp.exe': Loaded 'D:\Sandy\ComputerGraphics\EDA221_RenderChimp_13\win32\bin\SDL_image.dll', Binary was not built with debug information.
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\opengl32.dll', Cannot find or open the PDB file
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\glu32.dll', Cannot find or open the PDB file
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\ddraw.dll', Cannot find or open the PDB file
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\dciman32.dll', Cannot find or open the PDB file
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\shimeng.dll', Cannot find or open the PDB file
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\imm32.dll', Cannot find or open the PDB file
'RenderChimp.exe': Unloaded 'C:\WINDOWS\system32\shimeng.dll'
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\uxtheme.dll', Cannot find or open the PDB file
'RenderChimp.exe': Loaded 'C:\Program Files\RocketDock\RocketDock.dll', Binary was not built with debug information.
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\msctf.dll', Cannot find or open the PDB file
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\version.dll', Cannot find or open the PDB file
'RenderChimp.exe': Unloaded 'C:\WINDOWS\system32\version.dll'
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\apphelp.dll', Cannot find or open the PDB file
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\msctfime.ime', Cannot find or open the PDB file
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\ole32.dll', Cannot find or open the PDB file
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\kbdus.dll', Cannot find or open the PDB file
'RenderChimp.exe': Unloaded 'C:\WINDOWS\system32\kbdus.dll'
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\kbdfr.dll', Cannot find or open the PDB file
'RenderChimp.exe': Unloaded 'C:\WINDOWS\system32\kbdfr.dll'
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\dsound.dll', Cannot find or open the PDB file
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\version.dll', Cannot find or open the PDB file
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\nvoglnt.dll', Cannot find or open the PDB file
The thread 'Win32 Thread' (0x15cc) has exited with code 0 (0x0).
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\mcd32.dll', Cannot find or open the PDB file
'RenderChimp.exe': Unloaded 'C:\WINDOWS\system32\mcd32.dll'
The thread 'Win32 Thread' (0xc50) has exited with code 1 (0x1).
The thread 'Win32 Thread' (0xabc) has exited with code 1 (0x1).
The program '[4620] RenderChimp.exe: Native' has exit"d with code 1 (0x1).

Does anyone has an idea of the problem?

Thank you for your help!
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: MikeD on 2014-09-11 11:22:11
If you are wondering about why the rings of Saturn are only visible from one direction, it's because backface culling is on by default. The idea is that most objects are closed, so it's no point rendering triangles when you see the from the back, because the front facing triangles will cover them. Think about a sphere. But the triangles we use for the rings of saturn are not a closed object, so they disappear when you look at them from the 'back'.

Have a look at slide 32 from Seminar 2 for the commands :
http://fileadmin.cs.lth.se/cs/Education/EDA221/seminars/sem_2.pdf
 in particular :
my_shader->getRenderState()->disableCulling();
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: MikeD on 2014-09-11 11:29:30
If you are interested in adding a Cube Map to your solar system, we will look at this in Seminar 3. You can look ahead to that for some hints, but it does require a new type of sampler, which we have to add to the shader. So look ahead if you like, but we haven't really covered everything yet ;)
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: sespinas on 2014-09-12 17:07:37
Hi!
I have a question about the first assignment:
In the following instruction: "Modify the existing camera control code from pivot- to fp-style"
what is the fp-style?

Thank you for your reply!
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: MikeD on 2014-09-15 10:55:12
fp-style stands for First Person style. It means that when you move the mouse on the screen, it is like you are moving your head and looking in different directions. So when you move the mouse to the left, the camera rotates to look in the left direction, same for moving the mouse in the right, up and down direction, this also moves the camera in those directions.

Hi!
I have a question about the first assignment:
In the following instruction: "Modify the existing camera control code from pivot- to fp-style"
what is the fp-style?

Thank you for your reply!
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: bondi on 2014-09-17 13:19:21
Hi we have a couple of questions!

1. How do we use the transparency maps from the website http://planetpixelemporium.com/ for saturn and uranus disks in combination with the color maps? Is it possible to do in renderchimp?

2. Is there any way to use the local coordinate system of a planet that is axially tilted? It would really help with the rotation of Pluto, which differs quite a bit from the other planets.

3. Are we supposed to manually calculate a matrix for the cubic interpolation for the travel route of the space ship, or is there any shortcut available in renderchimp?

4. Is there any way to let the planets block the light from the sun, so that i.e. a moon that's behind the planet won't be lit up?

Thanks in advance!
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: ErikRH on 2014-09-18 13:18:46
Hejsan. Om det är någon som arbetar ensam och vill ha en laborationspartner så ställer jag gärna upp.



Hi there. If someone is working alone and thinks he/she needs a laboration mate, I am happy to help.


Also, I would like to know how to think when creating the orbit of the planets. I know how to handle the spin, but I cannot get the orbit thing to work. I tried to follow an "example" from an old exam, but that did not take me anywhere.

/Erik
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: AlexW on 2014-09-22 16:31:05
If anyone wants to work together on the second lab, I'm up for it since I don't have a lab partner.

Om någon vill jobba tillsammans på den andra labben så är jag på eftersom att jag inte har en labbpartner.

I'm actually having some trouble getting through it so if someone who has gone through the assignment already would just like to help, that would be awesome as well.
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: StenRemmelg on 2014-09-24 11:26:34
Hi, we have a question about lab 2.

In the interpolation part when defining the matrices, how do you declare the last matrix in both methods? (the ones that contain the p_i points)

They should be 2x3 and 4x3, right? We only know how to make square matrices.

Edit: Should we use array style matrices like float matrix[rows][cols] and do the multiplications as a loop?

Edit 2: Solved it!
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: Fhurrur on 2014-09-24 20:15:04
Error in VectorMath.cpp, line 1035, the return type should be vec4 and not vec2 for a 4x4 matrix multiplication.

Current
Code: [Select]
/* Multiplication/Dot product */
template<class T>
inline vec4<T> vec4<T>::operator*(const mat4<T> &v) const
{
return vec2<T>(
v.a * x + v.e * y + v.i * z + v.m * w,
v.b * x + v.f * y + v.j * z + v.n * w,
v.c * x + v.g * y + v.k * z + v.o * w,
v.d * x + v.h * y + v.l * z + v.p * w
);
}

Suggested
Code: [Select]
/* Multiplication/Dot product */
template<class T>
inline vec4<T> vec4<T>::operator*(const mat4<T> &v) const
{
return vec4<T>(
v.a * x + v.e * y + v.i * z + v.m * w,
v.b * x + v.f * y + v.j * z + v.n * w,
v.c * x + v.g * y + v.k * z + v.o * w,
v.d * x + v.h * y + v.l * z + v.p * w
);
}
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: MikeD on 2014-10-01 16:14:57
More about assignment 4:

Last year Per Ganestam put together a Mac version of the lab that is nearly identical to the PC version. It uses a different window handling library, GLFW rather than GLUT. Since the OSX GLFW build uses Cocoa it makes it possible to get an OpenGL 3/4 context with GLSL 1.5 and above.

Only C++, no Objective C.

A link to the project zip can be found on the assignments page.

The working directory information doesn't stay with the xcode project file. So if you try to run it, it can't find the textures or shaders.
A quick way of fixing it is to set your working directory to $SRCROOT.
After opening the project in xcode, to the right of the "run" button click the project name to get a drop down menu. Choose "Edit Scheme" and click the "Working Directory" box. In the text box, type $SRCROOT.

GLFW runs on PC as well and is a neat and modern substitute to GLUT, of course, if someone wants to try it out on a PC, you have to find (or compile) the binaries of your choice. The libglfw3.a is only for OSX.
http://www.glfw.org/

Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: Currentberg on 2014-10-03 23:59:43
I am having an issue with the assignment 4. When I have downloaded the handout (for windows) and opened it with VisualStudio 2013 and then directly try to run the glsWater.cpp, I get an error saying that the program can't be launched due to the glew32.dll is not on this computer. I have tried to set the path directories in projectproperty->VC++ Directories, but without any success.

Apparently (what I have read) it should be sufficient to have the glew extension in the root directory as it is, but somehow it wont work.

Error message from Visual Studios:

'glslWater.exe' (Win32): Loaded 'C:\Users\Tothema\Desktop\assignment4_handout\win32\Release\glslWater.exe'. Symbols loaded.
'glslWater.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Cannot find or open the PDB file.
'glslWater.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Cannot find or open the PDB file.
'glslWater.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Cannot find or open the PDB file.
The program '[6248] glslWater.exe' has exited with code -1073741515 (0xc0000135) 'A dependent dll was not found'.


Any thoughts?^^



Update:

I fixed the problem by copying both the glew32.dll and the glut32.dll into the Release folder. I also did some different Pathing in Visual, but i think the issue is solved just by copying the files alone.

Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: dic13ali on 2014-10-12 17:18:50
Get rich while avoiding ogres, or die trying!

You play as a textureless space treasure hunter. Whilst on the hunt for some good ol' money you encounter a band of cunning ogre heads. They want you dead. Avoid the ogre heads and the borders of the window while getting rich! But be careful, more money equals more ogres.

Features:
- iCopteresque controls
- realistic gravity
- shoot some ogres
- generate head shots
- get money
- play with words...

Control:
- w to throttle
- e to shoot

Beginning of the game:
(http://i.imgur.com/QGl4GSH.jpg)

End game:
(http://i.imgur.com/Qt2ySUH.jpg)

Authors:
Mattias Simonsson och Anton Lin
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: StenRemmelg on 2014-10-13 14:27:47
Hi, does anyone know how to write text to the game window in some way? Like showing a score counter in the corner, or making a screen with "Game over, your score was: x" or something.
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: MikeD on 2014-10-13 18:53:40
Hi, does anyone know how to write text to the game window in some way? Like showing a score counter in the corner, or making a screen with "Game over, your score was: x" or something.
You are looking for the Console::log("score: %d",score); command.
For the formatting of variables, look up the C++ printf command.
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: sespinas on 2014-10-14 12:11:58
Hi!
We are the team Rodrigo Daguano and Sandy Espinasse, and we created the game Awesome Torus Ride!
Your goal is to pass a fixed number of Tori as fast as possible. You can control your spaceship with the AWSD, + QE for spinning left/right. Also you can accelerate with Z, and brake with C.
Your time will start counting when you press one of these movement keys. The Tori are randomly positioned along the path and you must cross their centers precisely in order to get them scored.
If you miss one the you can always return, the clock will not stop, but you are losing valuable seconds!

(http://i.imgur.com/PznE0Km.jpg)

(http://i.imgur.com/S2li7Op.jpg)

(http://i.imgur.com/2d64211.png)
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: Shan on 2014-10-14 15:40:11
Circle ring destroyer by Nguyen Lam & Shan Senanayake: The objective is to destroy circle rings by using a ball to bounce of the sphere you are controlling.
Controls: A or D to move left and right.


http://imgur.com/cS84SAw,PMOLfmY#0 (http://imgur.com/cS84SAw,PMOLfmY#0)
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: dscheibe on 2014-10-14 15:53:42
Our game is called The Best Torus Game Out There.  Our group is David Scheibe and Kenan Sadik Sulejmanovic.  The goal of the game is to fly through a set number of torus's as fast as possible.  They are randomly placed and you won't know where the next one is until you pass through the previous torus.  You have to hit the center of the torus (without hitting the torus itself) to move on to the next one.  Once you finish, your time will be displayed.

W to accelerate, S to decelerate and mouse to control direction.

(http://i.imgur.com/sZSwuLn.png)
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: Denhi on 2014-10-14 16:23:29
Collect shiny donuts space game

Objective
Features
Controls
Created by
(http://jacobarvidsson.com/Images/astroidgame.png)
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: ada09fak on 2014-10-14 16:54:42
Title: Whack the Seal, to Seal your Destiny!

Authors: Fredrik Åkerberg, Sofia Siljeholm

Controls: Use WAD, to control your seal, and P to Pause the game (although you may have troubles unpausing it... :p (it's a feature ;) ))!

Objective: Seals don't like to be hit by various object such as Maces and Baseballbats! Avoid these!!!
But as everyone knows, they love My Little Ponies :). So collect these to get points :).

Hint: You are able to fly beside the track, but then you'll miss the point of the game...


Pics:
https://drive.google.com/file/d/0B5qQOvPITKNrWlRQSWF5NjFfOGs/view?usp=sharing
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: lat11rol on 2014-10-15 13:37:44
HoverTank
Drive the Hover Tank and shoot down the EDA221-themed balloon targets as fast as possible.

Controls
Control the tank with [ W ] [ A ] [ S ] [ D ] and steer the turret with the mouse.
[ MOUSE BUTTON 1 ] to fire and [ MOUSE BUTTON 2 ] to reset the view.

Screenshots
http://imgur.com/a/c4bxs (http://imgur.com/a/c4bxs)

Video
https://www.youtube.com/watch?v=5Cmu3b_70S0 (https://www.youtube.com/watch?v=5Cmu3b_70S0)

Binary (Windows)
(Might work)
Run RenderChimp.exe in win32\bin\ .
https://dl.dropboxusercontent.com/u/41472562/HoverTank.zip (https://dl.dropboxusercontent.com/u/41472562/HoverTank.zip)

Created by
Rikard Olajos
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: adi10jsv on 2014-10-15 13:42:12
Our game is called "Destroyer of Earth(s)".
In this game you steer a small spaceship whose evil pilot wants to destroy all existing life in the whole universe (except himself of course).

Authors: Johan Svensson & Tobias Andersson

Controls:
WASD for steering
Mouse for changing direction
Ctrl to fire the death ray
Right mouse for shield

The player loses points when crashing into Earth(s) without an activated shield. The player gains points when destroying an Earth.

(http://www.ladda-upp.se/tumnagel/sowklezlvjtmi/) (http://www.ladda-upp.se/bilder/sowklezlvjtmi/)

(http://www.ladda-upp.se/tumnagel/niiryrxniqsihx/) (http://www.ladda-upp.se/bilder/niiryrxniqsihx/)

(http://www.ladda-upp.se/tumnagel/hiesqnztgpmqwl/) (http://www.ladda-upp.se/bilder/hiesqnztgpmqwl/)
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: Nicck on 2014-10-15 15:30:43
Shaky Space Ride

Authors:
Christian Tenggren & Nicklas Johansson

Gameplay:
Steer the spaceship with AD and try to avoid the asteroids. You get points for every asteroid avoided but beware that you lose points for every collision with an asteroid. The camera will also shake each time you hit an asteroid to indicate that a collision have occured. The speed of the game and the number of asteroids increase with the score and decrease with each collision.

Screenshot:
(http://i.imgur.com/k536CBg.png)
Title: Fly through the polkagris donuts!
Post by: AmyEmelie on 2014-10-16 09:05:50
Objective
Fly through the polkagris donuts in the right order for the rest of your days!

Features

Controls
"W" for flying forward and "S" for backward. Click and hold right-mouse button to stear.

Created by
Amy Niklasson
Emelie Sandström

(http://i.imgur.com/VFPHx3Z.jpg)
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: JohanAkelius on 2014-10-16 09:40:50
Objective
Fly around in the air and shoot down the asteroids, who are out to kill you.

Controls
"WASD" for moving the plane around, "OP" for accelerating and deaccelerating, "SPACE" for shooting.

Created by
Johan Åkelius
Rikard Lindahl

(http://i.imgur.com/XhHAtLm.jpg)
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: EmmaDavid on 2014-10-16 09:47:29
Go through as many tori as you can manage. If you hit one you are dead.
The only thing you can change is your speed. It's flappy bird hard.

Features: brilliant collision detection on the two sides of rotating tori, cubemapping, interpolation and phong shading.
(http://i.imgur.com/B4FuukF.jpg)
David Larsson and Emma Holmberg Ohlsson
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: asl on 2014-10-16 09:48:02
Mystic island by Anna Larsson

While out flying with your spaceship (as you do), you get trapped on a mysterious island. The giant stone ogre presiding over the barren land tells you the only way to escape the island is by flying perfectly through the stone arches surrounding the island. When you pass through an arch, it turns red, to mark you success.

Use the A and D keys to navigate your ship.

screenshot:
https://www.dropbox.com/s/h0ujghtbn7hfhrx/Capture2.PNG?dl=0
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: Leaves on 2014-10-16 10:44:44
Name: Crazy Stones
Authors:Zhang Menghe & Yu Ruifan
Tasks: shoot & avoid stones from star-sky
Rules:1.use keyboard WSAD to control player's direction
          2.use V to shoot
          3.players have 8 lives in total , if cracked more than 8, the game will exit
Features:1.the stones go as para-curve and generated randomly
               2.print lives and score on the log screen
               3.easy to set parameters of game
(http://i.imgur.com/KTeLk9K.png)
 
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: WilliamBengtsson on 2014-10-16 10:58:56
Space Balls

Features
Impressive Phong and bump shaders!
Balls looking like the sun!
A container able to move both to the left and to the right!
Increasing difficulty, even harder than Flappy Bird!

Screenshot
(http://i.imgur.com/Zrr560a.jpg)

Objective
Collect all the falling balls with the box-container. If you miss one you lose!

Controls
Move the box-container sideways by pressing A and D.

Created by
William Bengtsson
Christer Persson
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: RXminuS on 2014-10-16 11:32:34
Asteroid Trouble
Thanks to efforts by Elon Musk and his SpaceX program we have now successfully captured a deep space asteroid into orbit and are studying it's inner core to find the origin of life in the universe. During studies, scientists stumbled upon a weird material never seen before. As it turns out, it was the heart of the asteroid and touching it made the asteroid very very angry. It has send out a distress signal throughout the universe for other interstellar bodies to come and destroy the base built upon it's surface . You've been send out to defend the space station and allow scientists to continue study and find the answer to the most important question in the universe!!!

Disclaimer: This is some of the ugliest code I've ever written so I can't guarantee anything. Also, the game was built to run fullscreen at the resolution for the Uranus-lab computer labs so if you want to run at a different resolution...well you can ask me ;)

Features

Credits
Rik Nauta - riknauta@gmail.com
Models and textures come from many different (FREE & PAYED) sources (BIG THANKS), e-mail me if you're interested in something particular.

Controls
Ctrl - lock/unlock camera (useful for interplanetary flight)
Shift - thrusters
W - fly up
S- fly down
A- turn left
D- turn right
Mouse- look around (press Ctrl to unlock camera)
Left Mouse Button - shoot

Executable
https://drive.google.com/file/d/0By1j86IbacCjLVlOdDltS3l5VHM/view?usp=sharing (https://drive.google.com/file/d/0By1j86IbacCjLVlOdDltS3l5VHM/view?usp=sharing)

Source Code
I have it as a Git repo on BitBucket but as a private repository because I would like to clean it up first before making public. So if you really want to have a look at something drop me an e-mail.

Screenshots
(https://drive.google.com/uc?export=download&id=0By1j86IbacCjY3JSTEJyLVlSZ28)
(https://drive.google.com/uc?export=download&id=0By1j86IbacCjM3dRTHJEMldneTA)
(https://drive.google.com/uc?export=download&id=0By1j86IbacCjTVZIMXRQZkF4U1U)
(https://drive.google.com/uc?export=download&id=0By1j86IbacCjZmo1MW84MGF0V0k)
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: StenRemmelg on 2014-10-16 12:03:33
Ogre Jump 2014

Features
Extremely immersive platforming action!
Platforms that turn green when visited!
Almost Newtonian motion!
A golden floating ogre head with Phong shading!
Impressive levitating lava ball in the sky with bumpmapping!
A floor of real lava, just like the one you imagined as a kid!

Screenshot
(http://i.imgur.com/yMCKZso.png)(http://i.imgur.com/Vs9zi3V.png)
(http://i.imgur.com/DlGnowo.png)(http://i.imgur.com/13pllAG.png)
(http://i.imgur.com/7gw9hJ8.png)

Objectives
Visit all platforms without falling into the lava.
Sit stunned in awe of our awesome graphixxx!

Controls
Aim the ogre head by holding down the right mouse button and turning the camera.
Increase jump power with A and decrease it with Z.
Use Q to perform a leap of faith.

Known bugs
Sometimes you can't die for some unknown reason, but this is more of a feature than a bug.

Created by
Sten Remmelg
Ola Runeson
(thanks to William Bengtsson and Christer Persson for your awesome template for this forum post ;))
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: ada10del on 2014-10-16 12:52:16
Asteroid Dodge
authors: Daniel Eliasson, Bjarni Birgisson

Description:
Fly around, avoid the asteroids. The number of asteroids is steadily increasing and makes your final score.

Features:

Controls:



Screenshot:
(http://users.student.lth.se/ada10del/eda221/Asteroids.png)



Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: MikeD on 2014-10-16 13:49:51
Asteroid Trouble

Well done! Great to see such a mixture of shaders and effects, plus attention to model detail and look.
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: MikeD on 2014-10-16 14:05:46
Many great looking projects. Well done!
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: HLBilski on 2014-10-16 15:48:38
FlappyShip
authors: Henrik Lindelöf Bilski

Features:
A complex one button adventure: Should you jump this second or the next?
An octane driven immersive story experience: There is a torus and hitting it gives you a stunningly well written message of approval.
Two lines of text: There is also a reply if you fail to hit the torus.
Most advanced whirlpool graphics of any Flappyship game: A circular drawing from CircleShape texture coordinates is the cutting edge in whirlpool graphics!
Infinite replayable sandbox: The game has no win condition letting you enjoy it endlessly.

Controls:
W: jump (what else would you need)?

Screenshot:
(https://dl.dropboxusercontent.com/u/9152371/sc1.jpg)
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: Carl Johan Gribel on 2014-10-16 19:59:00
Great looking games, nice work!  8)
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: Fhurrur on 2014-10-16 20:12:43
Catch Them All!
Get your copy at:
http://lth.lu/CatchThemAll.7z (http://lth.lu/CatchThemAll.7z)!

30 Pokeballs, surrounded by evil rings(dont touch them) and you gotta catch them all!

Featuring:
(http://lth.lu/cta1.jpg)
(http://lth.lu/cta2.jpg)
By
Alexander Magnusson
Robin Ljungström
Title: Tabletennis
Post by: hb on 2014-10-16 21:56:10
Authors: Robin Seibold and Hanna Björgvinsdóttir

Objective: In this fps game, the aim is to shoot the small eyes orbiting around the boss eye, while avoiding being shot at. When all small eyes have been eliminated, the boss eye can be killed with four shots. The goal is to use as few bullets as possible to eliminate all eyes.

Features: Beautiful scenery, easy navigation, and best score tracking.

Controls: WASD and mouse for navigation, mouse click for shooting, c for restarting the game after having won/lost.

(http://i.imgur.com/Ug35Ucu.png)
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: AlexW on 2014-10-17 20:22:56
(http://i.imgur.com/TKASKu9.jpg?1)

Labyrinth'd

Authors: Alex Wormbs & Jonathan Vidmar

Objective: In this daring maze game your objective is to find the exit whilst keeping track of the time it takes you as a means for competetive game play against your friends. Revolutionary level design renders traditional maze solving techniques useless. As we speak, people are still trying to find a way out. Amelia Earhart didn't disappear in the pacific, she went into this maze...

Get labyrinth'd!

Features: Glorious collision detection, local light redering and intense level of claustrophobia.

Controls: WASD
Title: Prepare for ULTIMATE ASTonROIDZ in THREE dimensions!!1!
Post by: bondi on 2014-10-20 15:07:00
ULTIMATE ASTonROIDZ in THREE dimensions, coming to a store near you!

Fight your way through an infinite amount of asteroids coming straight towards you, no matter where you fly!
Use your super-thruster (shown on picture) for extra speed, and fire your green mega-laser to OBLITERATE the asteroids before they OBLITERATE you! (Laser not shown on picture)
IF you would FAIL and get smasked by an asteroid, get punished by getting spawned in the middle of our solar-system!!

Features:
Momentum && Acceleration.
Thruster.
Mega-laser.
Infinite universe with asteroids spawning in a circle around you, no matter where you are.
Score && Death counters.
A dangerous amount of fun!

(http://puu.sh/cjp1w/35950e4483.jpg)
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: MikeD on 2014-10-21 09:48:13
Some really great work here, well done to all students!!

Two things that are really great to add :
1. Is a you-tube clip of you game running. It's a great way to show it off now, plus to future employers! With a clip on you-tube, the extra work that you put into a 1 week project will be around for some time, and something you can always reference.
2. A downloadable executable. This is a great way to let others experience your game! Try putting it in a zip file and adding it to dropbox or any other sharable cloud drive. In this way many students, and even external people can really experience the work that you put in and perhaps if you lose it you can find it in the forum one day ;)
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: tfy11jda on 2014-10-31 00:36:00
3D Pong
Created by: Johnny Dang


The classic  game, seen from a new perspective.

Features

Controls
Ordinary WASD buttons for player 1 and the less ordinary UHJK for player 2.
The bricks will only move in a 2D plane, so they can never get closer to the center.
When the ball gets past the wall, the ball is teleported to the center again. Pressing T will do the same.

Screenshot
Couldn't upload it to the forum, so I post a dropbox link instead.
https://www.dropbox.com/s/u1tt4srgee2ly97/screen.gif?dl=0
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: MikeD on 2014-11-13 16:24:13
Results for the 2014-10-31 exam are posted on the CS notice board on the second floor.
Title: Re: EDA221 - Introduction to 3D 2014 HT1
Post by: RXminuS on 2014-11-14 17:34:32
...we have now successfully captured a deep space asteroid into orbit and are studying it's inner core to find the origin of life in the universe. During studies, scientists stumbled upon a weird material never seen before. As it turns out, it was the heart of the asteroid and touching it made the asteroid very very angry. It has send out a distress signal throughout the universe for other interstellar bodies to come and destroy the base built upon it's surface .

OMG, my game is coming true http://www.iflscience.com/space/rosetta-s-comet-sounds-lot-predator :P