Search found 6 matches

by Saturos
March 13th, 2017, 10:33 am
Forum: Everything
Topic: Anyone can explain me why pointers are useful?
Replies: 4
Views: 2007

Re: Anyone can explain me why pointers are useful?

Also, when you have an object that has assignment operators defined, references aren't gonna work (because they can't be re-seated), and so you gotta use pointers. I don't actually understand that point. Looking at your Vec2 class, is this a good example to illustrate that? Vec2 Vec2::GetNormalized...
by Saturos
March 12th, 2017, 10:03 pm
Forum: Everything
Topic: Anyone can explain me why pointers are useful?
Replies: 4
Views: 2007

Anyone can explain me why pointers are useful?

Thanks to the Beginner C++ tutorial, I understood that references are useful for passing objects to a function, but I have no idea in which situations pointers are necessary. If I'm not wrong, the main purpose of pointers is to dynamically allocate memory, that's the reason why vector class uses the...
by Saturos
March 11th, 2017, 10:26 am
Forum: Everything
Topic: The Mandelbrot Set using the Chili Framework
Replies: 9
Views: 2956

Re: The Mandelbrot Set using the Chili Framework

Thanks albinopapa again :D Maybe I'll give it a try. I think the first thing I'm gonna do is what Chili has said: multithreading. I'll tell you if I make any progress :)
by Saturos
March 10th, 2017, 7:47 pm
Forum: Everything
Topic: The Mandelbrot Set using the Chili Framework
Replies: 9
Views: 2956

Re: The Mandelbrot Set using the Chili Framework

Albinopapa, thanks for your great explanation, but I have to read AVX instructions carefully because it seems that the syntax is not user friendly at first glimpse. What calculation do you make? I've heard of the Mandelbrot set before, something with squares and roots... but I'd love to have a go at...
by Saturos
March 8th, 2017, 12:02 pm
Forum: Everything
Topic: The Mandelbrot Set using the Chili Framework
Replies: 9
Views: 2956

Re: The Mandelbrot Set using the Chili Framework

Cool! I remembered that, on my 486, on a resolution of 160*100, it still took some seconds to render :) It's faster now but still not real time. For a fast zoom see https://www.youtube.com/watch?v=BLMUfBikxTY at 3:15 if you don't want to watch the whole video :) Cool video! :) Now it's easier to re...
by Saturos
March 7th, 2017, 9:09 pm
Forum: Everything
Topic: The Mandelbrot Set using the Chili Framework
Replies: 9
Views: 2956

The Mandelbrot Set using the Chili Framework

Hello everyone, I'm following the "Beginner C++ Game Programming DirectX" tutorial and I've been learning a lot of stuff (thanks, Chili :D ), so I decided to create a program about the Mandelbrot set using the Chili Framework. The Mandelbrot set is a very famous fractal in math whose shape is calcul...