CUDA is a GPGPU (General Programming GPU) languange, so expect no graphics related concepts in there. In CUDA you need to copy your image data into GPU buffers (uchar4, float4, it depends on your source data type). Then write a kernel that loads the data for the current thread for all the images, combine them, and write the output. Finally, read the data back from GPU to CPU.
To know what data to load you need to use the current thread and block indices: threadIdx & blockIdx and their sizes: gridDim (blocks in grid) & blockDim (threads in block).
Look at the examples here: http://docs.nvidia.com/cuda/cuda-c-programming-guide/
“Clever and compelling, Tale Tapper: Paddy’s Quest is quite the unexpected treasure” - 4.5/5.0 - 148Apps
“If you’ve been wanting a stealth game then this is a must-buy for you!” - 9/10 - App Store Arcade
Generally the proper thing to do is remove all commercial advertisements and have those people setup a proper advertising campaign with Devmaster, just as Dia says. The new site doesn’t really cater to those kind of posts anymore since everything funnels into the one and only list.
I’m getting really sick of them to be honest, we seem to have lost a lot of development chat and gained a lot of “hey guys, we’ve just finished our brilliant %s and would like to tell you about %s”
What I mean by the official advertising channel is through the banner ads on the site, not through regular posts. Those obviously go through some manual review process.
Just noticed that there are unread posts.
If there would be an official ads channel, we’d definitely need someone to moderate that one here (and approve the posts) … as it would be filled by ton of garbage sooner or later (but I bet that it’d be sooner) - and I presume you’d want to keep only programming or game development related stuff in the channel.
What about the people who are selling game art assets, like Arteria and so forth? Historically we’ve let them post their announcements / advertisements here, but it sounds like they would be excluded.
There’s no way to do it currently.
I do notice an increase in posts that just advertise a commercial product or announce a game. In order to maintain quality of the site, we need to enforce some policy for which posts are allowed. What I’m thinking of:
For game announcements, the post must contain informative technical details about the development of the game or must be an open-source game.
Advertising commercial non-open-source products is not allowed and will be deleted. Such advertisements must go through the official advertisement channel at DevMaster.
Let me know if anyone has other thoughts on this.
Hi, thanks for your comment :)
I’m using extensively lots of advanced rendering techniques: like ambient occlusion, motion blur, glow, volumetric lighting, soft shadows, realtime reflections, realtime lighting and shadowing, smaa anti aliasing, etc. and of course stereoscopic rendering ;) therefore it’s very GPU demanding.
If I’d be making a game out of it, then I’d probably add it.
My personal experiences - the idea is definitely exciting, however unfortunately I’m one of those people who suffer from motion sickness from it, so I can’t really use it for more than couple minutes haha. Since I’m an engine developer, and not a game developer, then I’ll just proceed to making other things in my engine (next one is making a Linux port), and I’ll leave playing with (and making games for) Oculus Rift to all of my clients, who are using my engine. I’m also interested to play around with Nvidia 3D Vision, but I don’t have a monitor yet that can support it, I’ll probably wait until those with G-Sync come out and get one.
I’ve made it so the barrel distortion and chromatic aberration are applied only when you connect HeadMountDisplay (through HDMI cable). When you connect just with USB cable, then only sensor gets activated, and stereo but without the barrel+chroma.
Thanks again for the comment :)
singularity is actually one of the most interesting things for me, I think it may happen, but not quickly
Not bad, I only have a couple recommendations.
Are you forcing a 30 fps limit (with and without stereo)? I have an nVidia 670M, which I believe should run that demo a bit faster, but it seems capped.
I think the floor is to reflective. When I have the rift on, combined with the colour scheme it looks like the floor is transparent. It just doesn’t feel right, though it could just be me.
It would be nice to have full mouse view option. I like to sit back and relax while I explore. Head tracking is one of those cool things when you first get the VR, but I’m now only interested in the 3D projection.
Other than that, is there anything else you want to share about the Rift? Any personal experiences? Your thoughts on stereo vision and what you plan to do with it (aside from support it in your engine)?
Forgot to mention a bug ;)
When I plug the Rift in while the game is running, you switch to a stereo render, but no barrel distortion is applied. The IPD is also off as the two images do not converge.
I recently got asked the question: “with all of the other game programming products out there , that you intend to compete with , why is yours a better choice? What is it about your paid product that would be to my advantage to switch to? Does this product do something unique that other don’t, etc.?”
My response: http://gamepascal.com/why-use-gamepascal/
ahhh more blatant commercialism
This heavily depends on the scene - do you have some infor how simple the scene is? Is it Sponza? (Because doing 1920*1080 @ 60 for Sponza on 1/30th of chip that costs 300 GBP would be really revolutionary … otherwise you’re matching GPUs, which isn’t bad performance at all, but…)
It’s an American thing - see Wikipedia.
WTF is black friday ?
fortran was nice, I liked it. Cobol was a pain.
I remember having to write a page of code just to tell the compiler what to generate. You had to tell the compiler what machine it was running on.
AUTHOR. MARY DOE.
ASSIGN TO DISK1.
ASSIGN TO PRINTER.
a. Area A e. Area B
b. Area A f. Area A
c. Area B g. Area A
d. Area A h. Area B
I worked on y2k stuff and it was a nightmare. It was common practice to patch the binaries rather than going through the whole (edit, compile, install) path. And there was never any docs. This was called “job security”. So you had to decompile the binary back to code fix it , then compile and test.
I’ve been nearly rich, I lost £40,000,000.00 overnight, just don’t know where I put it. Lost £3,000,000.00 when the CEO of a company gambled with a floatation and lost. Been made redundant five times when startups ran out of money. Interesting times.
I remember on the old Commodore pets you could type in a poke that destroyed the machine. Caused a short circuit and blew the motherboard. (AFAIR)
Not yet… sorry .
I’ll prod Chris and spur him on. He’s nearly as old as me and can be a little …. strange …
Heh, gotos. Reminds me of libjpeg where you have to use a longjump to return flow control after handling a jpeg error. I was like (o¿O)
I’m not old school enough to score brownie points with the old boys. Back in my day, playing with the BEEP command in QBasic was “teh kool”. If only I arrived to the scene a couple years earlier… I’d be a millionaire hyping y2k doomsday nonesense and building ungodly expensive banking systems on fortran and cobol. That money wagon is long gone though.
Tale Tapper is now being featured by Apple in the new game list for Adventure and Family. We have a Black Friday sale ($0.99) from tomorrow until Dec 1st, make sure to grab it during the sale if you haven’t yet!
There’s such thing as “the best”. They’re both good engines, and if you’re just getting started, it doesn’t matter which one you use. Just pick one and start learning it.
BTW, PhysX is just a physics engine, not a full game engine.
Can i be put in a preorder list or something ??
realtime raytracing is the base we use to see if the technology works
when we get the whole network design finished I’ll give you more details, but at the moment a single chip can resolve 1920*1080 rays at 60 hz with a simple scene. We are assuming 32 chips as a base machine for £300
“A single chip has the bandwidth to generate a single 1080p frame at 60hz, and you can have any power of 2 chips in the array.”
That alone isn’t sufficient , i can have a blank screen and running the main loop much higher than 60hz, how are you measuring stuff ? rays/intersections / secs , triangles/sec, GFlops ???
Can i raytrace in realtime with your pc ?
Can’t give away too many details, but think along the line of an array of fast processors with a self programming topography and ultra fast chip to chip communication.
Each chip will have it’s own cache. The memory access speed for this cache is stupidly fast.
A single chip has the bandwidth to generate a single 1080p frame at 60hz, and you can have any power of 2 chips in the array.
Chris is doing all the work on the hardware, I’ll ask him if he is ready to publish anything