|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I made about 1,700,000 cubes and it occupied 65% of 2G memory of my machine.
and I should make 14,000,000 cubes but the memory should be overflowed.
How can I solve this problem without considering buying more memory?
JH
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
yoon <jhy### [at] galaxyyonseiackr> wrote:
> I made about 1,700,000 cubes and it occupied 65% of 2G memory of my machine.
> and I should make 14,000,000 cubes but the memory should be overflowed.
> How can I solve this problem without considering buying more memory?
Are there any groups of cubes which repeat, or are all the cubes
completely distinct from each other?
If there are groups of cubes (say, like eg. groups of 10000 cubes)
which repeat, then you can make a mesh consisting of 10000 cubic shapes
and then just copy this mesh.
What are you trying to do? Perhaps there's a better way of doing it.
--
- Warp
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
There is no cube which is the same as others.
It's not easy to explain but I have to make such many objects.
Thanks.
JH
"Warp" <war### [at] tagpovrayorg> wrote in message
news:44ed7376@news.povray.org...
> yoon <jhy### [at] galaxyyonseiackr> wrote:
>> I made about 1,700,000 cubes and it occupied 65% of 2G memory of my
>> machine.
>
>> and I should make 14,000,000 cubes but the memory should be overflowed.
>
>> How can I solve this problem without considering buying more memory?
>
> Are there any groups of cubes which repeat, or are all the cubes
> completely distinct from each other?
> If there are groups of cubes (say, like eg. groups of 10000 cubes)
> which repeat, then you can make a mesh consisting of 10000 cubic shapes
> and then just copy this mesh.
>
> What are you trying to do? Perhaps there's a better way of doing it.
>
> --
> - Warp
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
yoon wrote:
> I made about 1,700,000 cubes and it occupied 65% of 2G memory of my
> machine.
>
> and I should make 14,000,000 cubes but the memory should be
> overflowed.
>
> How can I solve this problem without considering buying more memory?
How much memory use the vista and light buffers? Try rendering your
scenes without them.
(Look at http://www.povray.org/documentation/view/3.6.1/223/, the
commandline options are -MB -UL -UV)
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
yoon wrote:
> I made about 1,700,000 cubes and it occupied 65% of 2G memory of my
> machine.
>
> and I should make 14,000,000 cubes but the memory should be overflowed.
That's... wow. How many cubes per pixel?
/me counts...
--
Jonathan.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
>I made about 1,700,000 cubes and it occupied 65% of 2G memory of my
>machine.
> and I should make 14,000,000 cubes but the memory should be overflowed.
> How can I solve this problem without considering buying more memory?
If you have a lot of cubes that aren't visible, you could cull them, as long
as they
aren't in the line of sight, or in the line of sight from the light sources
(shadows),
and they aren't reflective, or opaque, and you aren't using radiosity...
then the
image should end up the same.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"yoon" <jhy### [at] galaxyyonseiackr> wrote:
> I made about 1,700,000 cubes and it occupied 65% of 2G memory of my machine.
>
> and I should make 14,000,000 cubes but the memory should be overflowed.
>
> How can I solve this problem without considering buying more memory?
>
> JH
There might be ways to reduce the memory requirements, but it depends on
your scene. A few questions first:
1) Are your cubes simple box shapes, or are they superellipsoids?
2) Does EACH cube need a different texture?
3) Are any of the textures partially transparent?
4) Are you using a #while loop to randomly place the cubes in your scene?
Ken W.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |