March 21, 2019, 09:14:20 PM

Author Topic: Am I an idiot.  (Read 820 times)

Offline Borislav

  • Jr. Member
  • **
  • Posts: 42
Am I an idiot.
« on: June 06, 2018, 10:27:28 PM »
I made a system to make the textures smaller by making a system in which when you go far away, you will have textures with less and less quality.
And I just realised that is called mipmapping and it is built-in into 3D engines.
Fuck..  ???
I am a dumbarse lmao.

Offline MagosDomina

  • Full Member
  • ***
  • Posts: 121
    • Aspiring game developer website.
Re: Am I an idiot.
« Reply #1 on: June 06, 2018, 11:26:31 PM »
Unless your technique produces better results? Mip mapping is not something you want if you're trying to create a certain aesthetic.
Central hub for my Game Design related activities.
http://www.magosdomina.com/

Windows 7 PRO 64-bit, 48Gb RAM, CPU: Dual Hexacore Intel Xeon 3.33 GHZ, Nvidia Quadro 5800FX 4Gb x 2 SLI.

Offline Borislav

  • Jr. Member
  • **
  • Posts: 42
Re: Am I an idiot.
« Reply #2 on: June 07, 2018, 11:49:33 AM »
Unless your technique produces better results? Mip mapping is not something you want if you're trying to create a certain aesthetic.
I was trying to reduce memory usage LMAO.

Offline col

  • Sr. Member
  • ****
  • Posts: 408
Re: Am I an idiot.
« Reply #3 on: June 07, 2018, 11:59:00 AM »
Quote
I am a dumbarse lmao.

To be quite honest I think the exact opposite...
I was reading a reddit chat one time and a guy posted about he had made a complete system similar to mip-mapping. Most of the replies gave him a hard time with similar reactions to your own - 're-inventing mip-maps'. But I thought to myself - hold on, this guy has come up with this complete system without prior knowledge of mip-maps what-so-ever, whereas I would bet money that ALL of the other coders had to read about it in a tute or book somewhere. ie they didn't have the smarts to think it up themselves!!

So yeah...
My 2 pennies is 'well done' :)
Unless of course you already knew about mip-maps then yeah... maybe your original statement does have a little merit, hehe  :))
Any bugs in my code are proof of its hand-coded nature.
https://github.com/davecamp

Offline GaborD

  • Full Member
  • ***
  • Posts: 236
Re: Am I an idiot.
« Reply #4 on: June 07, 2018, 02:34:51 PM »
Yeah, it's great feat that you have done it and not necessarily useless either.
Mipmapping is not just for aesthetics, it also boosts speed by a lot due to the lookups essentially going into small textures at range and caching effects kicking in.
So for certain aesthetic approaches, where traditional mipmapping doesn't fit the bill due to it's inherent blurriness at range, a system like this could be very useful.

Offline Hardcoal

  • Full Member
  • ***
  • Posts: 236
Re: Am I an idiot.
« Reply #5 on: June 07, 2018, 06:12:25 PM »
trust me you're not an idiot..
it happen to us all. or at least to me.. when i made stuff that already made by engines..
Its the outcome of working alone..
we pay heavy price for that.. thats why its always better to work in groups..
i know better.

I still pay heavily for working alone im quite certain of that

Offline Derron

  • Hero Member
  • *****
  • Posts: 1677
Re: Am I an idiot.
« Reply #6 on: June 07, 2018, 07:00:41 PM »
Working on your own saves time as you mostly will skip writing a documentation which you will else have to write when working in groups :-)
... not that writing documentations is a "necessary evil".


I am glad to live in the times of the "internet" rather than having to look for books explaining certain stuff. There is so much on the world one _could_ know that it is sheer to much to know everything.
Also things are just becoming more and more complex - of course for 3D math you mostly need to know about pi, sin, cos, tan (and arcus-variants) plus how vertices work. Thats nearly all.  But hey, if you want to build a house are you really to needing to know how bricks are made and how the isolation around cables is produced?
You only need to know such things if you are not satisfied with buyable bricks or the isolation of cables (read: mip-maps of textures in in this thread).


bye
Ron

Offline Borislav

  • Jr. Member
  • **
  • Posts: 42
Re: Am I an idiot.
« Reply #7 on: June 08, 2018, 05:14:39 PM »
Working on your own saves time as you mostly will skip writing a documentation which you will else have to write when working in groups :-)
... not that writing documentations is a "necessary evil".


I am glad to live in the times of the "internet" rather than having to look for books explaining certain stuff. There is so much on the world one _could_ know that it is sheer to much to know everything.
Also things are just becoming more and more complex - of course for 3D math you mostly need to know about pi, sin, cos, tan (and arcus-variants) plus how vertices work. Thats nearly all.  But hey, if you want to build a house are you really to needing to know how bricks are made and how the isolation around cables is produced?
You only need to know such things if you are not satisfied with buyable bricks or the isolation of cables (read: mip-maps of textures in in this thread).


bye
Ron
I know pi(at least the first numbers: 3.14), sin, cos, tan, cot, sec, scs and vertices.

Offline Borislav

  • Jr. Member
  • **
  • Posts: 42
Re: Am I an idiot.
« Reply #8 on: June 08, 2018, 05:18:43 PM »
Quote
I am a dumbarse lmao.

To be quite honest I think the exact opposite...
I was reading a reddit chat one time and a guy posted about he had made a complete system similar to mip-mapping. Most of the replies gave him a hard time with similar reactions to your own - 're-inventing mip-maps'. But I thought to myself - hold on, this guy has come up with this complete system without prior knowledge of mip-maps what-so-ever, whereas I would bet money that ALL of the other coders had to read about it in a tute or book somewhere. ie they didn't have the smarts to think it up themselves!!

So yeah...
My 2 pennies is 'well done' :)
Unless of course you already knew about mip-maps then yeah... maybe your original statement does have a little merit, hehe  :))
I didn't really know what it is.
I looked at games and realised that they actually make textures smaller when the distance is further to minimise memory usage.
So I made a system that detected the distance of the character and then load the smaller texture and free the larger one.
Also, for some reason, I suddenly got more memory usage after doing something(went from 450mb to 700mb).

Offline Matty

  • Hero Member
  • *****
  • Posts: 608
    • MattiesGames
Re: Am I an idiot.
« Reply #9 on: June 20, 2018, 06:33:09 AM »
No, you are not an idiot.

Yes you tried to reinvent something that existed.

But no - to come up with such an idea shows a good mind that seeks to explore possibilities of optimising...even if it got it wrong...so you're good.

Offline meems

  • Sr. Member
  • ****
  • Posts: 310
Re: Am I an idiot.
« Reply #10 on: June 27, 2018, 01:39:35 AM »
part of intelligence is admitting being an idiot. It seems like a contradiction, but it isn't. The other way to say it is an honest fool is smart, while an idiot refuses to admit foolishness to himself.
This aspect of intelligence has been substantiated by deepmind's alphazero, which learns by failing half the time and admitting it.

Offline Qube

  • Administrator
  • Hero Member
  • *****
  • Posts: 1610
Re: Am I an idiot.
« Reply #11 on: June 27, 2018, 01:47:15 AM »
Quote
This aspect of intelligence has been substantiated by deepmind's alphazero, which learns by failing half the time and admitting it.
Which fits in with old classic saying of "Learn from your mistakes"
Until the next time...